AP_Math: also fix SEC_PER_WEEK

This commit is contained in:
Francisco Ferreira 2017-03-12 17:11:50 +00:00
parent 1982285e23
commit 7afcbf51ec
No known key found for this signature in database
GPG Key ID: F63C20A6773E787E

View File

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