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.
Dependents: CsrLocationDemo CsrLocationDemo
Revision 7:820997be26cb, committed 2014-11-19
- Comitter:
- zhjcpi
- Date:
- Wed Nov 19 01:34:29 2014 +0000
- Parent:
- 6:8afa9ac0da9b
- Commit message:
- add comments for utcTime field.
Changed in this revision
| GPSProvider.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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:

