Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: GPSProvider.h
- Revision:
- 7:820997be26cb
- Parent:
- 6:8afa9ac0da9b
- Child:
- 8:47fa213225c3
diff -r 8afa9ac0da9b -r 820997be26cb GPSProvider.h
--- 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: