A controller-neutral API for working with GPS devices.
Dependents: CsrLocationDemo CsrLocationDemo
Diff: GPSProvider.h
- Revision:
- 7:820997be26cb
- Parent:
- 6:8afa9ac0da9b
--- a/GPSProvider.h Tue Nov 18 09:03:30 2014 +0000 +++ b/GPSProvider.h Wed Nov 19 01:34:29 2014 +0000 @@ -76,7 +76,7 @@ */ struct GPSTime_t { uint16_t gps_week; - uint32_t tow; /* time of week (in seconds) */ + uint32_t tow; /* time of week (in millisecond) */ }; typedef float LocationType_t; @@ -92,8 +92,8 @@ unsigned numGPSSVs; /* num GPS Satellites */ unsigned numGLOSVs; /* num GLONASS Satellites */ - GPSTime_t gpsTime; - uint64_t utcTime; + GPSTime_t gpsTime; /* gps time */ + uint64_t utcTime; /* UTC time in millisecond */ }; public: