Skip to content
Snippets Groups Projects
Commit 1ebfb8fe authored by Jason Short's avatar Jason Short
Browse files

GPS time set to unsigned int32

parent 826cffe6
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ public:
/// defines a member function set_<variable>(<type>)
///
#define __GPS_SHIM_SET(__type, __name) void set_##__name(__type v) { __name = v; _updated = true; }
__GPS_SHIM_SET(long, time);
__GPS_SHIM_SET(uint32_t, time);
__GPS_SHIM_SET(long, latitude);
__GPS_SHIM_SET(long, longitude);
__GPS_SHIM_SET(long, altitude);
......
......@@ -75,7 +75,7 @@ public:
virtual void init(void) = 0;
// Properties
long time; ///< GPS time (milliseconds from epoch)
uint32_t time; ///< GPS time (milliseconds from epoch)
long date; ///< GPS date (FORMAT TBD)
long latitude; ///< latitude in degrees * 10,000,000
long longitude; ///< longitude in degrees * 10,000,000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment