diff --git a/core/gps_extended_c.h b/core/gps_extended_c.h index 1014bab2..7debee9b 100644 --- a/core/gps_extended_c.h +++ b/core/gps_extended_c.h @@ -263,6 +263,13 @@ typedef uint16_t GpsLocationExtendedFlags; /** GpsLocationExtended has valid speed uncertainty */ #define GPS_LOCATION_EXTENDED_HAS_SPEED_UNC 0x0020 +typedef struct { + struct timespec apTimeStamp; + /*boottime received from pps-ktimer*/ + float apTimeStampUncertaintyMs; + /* timestamp uncertainty in milli seconds */ +}Gnss_ApTimeStampStructType; + /** Represents gps location extended. */ typedef struct { /** set to sizeof(GpsLocationExtended) */ @@ -283,6 +290,7 @@ typedef struct { float vert_unc; /** speed uncertainty in m/s */ float speed_unc; + Gnss_ApTimeStampStructType timeStamp; } GpsLocationExtended; typedef struct GpsExtLocation_s { @@ -911,13 +919,6 @@ typedef struct */ } Gnss_ClockMeasurementStructType; -typedef struct -{ - struct timespec apTimeStamp; - /*boottime received from pps-ktimer*/ - float apTimeStampUncertaintyMs; - /* timestamp uncertainty in milli seconds */ -}Gnss_ApTimeStampStructType; typedef struct {