AP_Math: update MSEC_PER_SEC definition to fix GPS time calcs

This commit is contained in:
murata 2017-03-13 11:48:51 +09:00 committed by Randy Mackay
parent b82098ca44
commit 1982285e23

View File

@ -68,6 +68,6 @@ static const double WGS84_E = (sqrt(2 * WGS84_F - WGS84_F * WGS84_F));
#define NSEC_PER_USEC 1000ULL
#define USEC_PER_SEC 1000000ULL
#define USEC_PER_MSEC 1000ULL
#define MSEC_PER_SEC 1000UL
#define MSEC_PER_SEC 1000ULL
#define SEC_PER_WEEK (7UL * 86400UL)
#define MSEC_PER_WEEK (SEC_PER_WEEK * MSEC_PER_SEC)