mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_GPS: add note about GPS_LEAPSECONDS_MILLIS being copied
This commit is contained in:
parent
99126d3cc7
commit
e88cd8498b
@ -48,7 +48,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#define GPS_UNKNOWN_DOP UINT16_MAX // set unknown DOP's to maximum value, which is also correct for MAVLink
|
#define GPS_UNKNOWN_DOP UINT16_MAX // set unknown DOP's to maximum value, which is also correct for MAVLink
|
||||||
|
|
||||||
// the number of GPS leap seconds
|
// the number of GPS leap seconds - copied into SIM_GPS.cpp
|
||||||
#define GPS_LEAPSECONDS_MILLIS 18000ULL
|
#define GPS_LEAPSECONDS_MILLIS 18000ULL
|
||||||
|
|
||||||
#define UNIX_OFFSET_MSEC (17000ULL * 86400ULL + 52ULL * 10ULL * AP_MSEC_PER_WEEK - GPS_LEAPSECONDS_MILLIS)
|
#define UNIX_OFFSET_MSEC (17000ULL * 86400ULL + 52ULL * 10ULL * AP_MSEC_PER_WEEK - GPS_LEAPSECONDS_MILLIS)
|
||||||
|
Loading…
Reference in New Issue
Block a user