From 1982285e237a0f6cf6f742342d3660e590e0351f Mon Sep 17 00:00:00 2001 From: murata Date: Mon, 13 Mar 2017 11:48:51 +0900 Subject: [PATCH] AP_Math: update MSEC_PER_SEC definition to fix GPS time calcs --- libraries/AP_Math/definitions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Math/definitions.h b/libraries/AP_Math/definitions.h index 1ee853d579..7c05fa040d 100644 --- a/libraries/AP_Math/definitions.h +++ b/libraries/AP_Math/definitions.h @@ -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)