1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-16 04:05:46 +00:00

Fix random crashes when program ended in macOS

The program randomly crashed when destroying the pvt block (EXC_BAD_ACCESS). This didn’t happen on Linux.

Beidou PVT fixes not available in macOS until finding the root cause.
This commit is contained in:
Carles Fernandez 2019-02-18 22:29:50 +01:00
parent 4784a58af0
commit b5e5277662
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -221,7 +221,9 @@ const int NSATQZS = 0;
const int NSYSQZS = 0;
#endif
#ifndef __APPLE__
#define ENABDS
#endif
#ifdef ENABDS
const int MINPRNBDS = 1; //!< min satellite sat number of BeiDou
const int MAXPRNBDS = 37; //!< max satellite sat number of BeiDou