GnssLocationInfoNotification: move basic location info to top

Move basic location info to top so if a new field is added to
GnssLocationInfoNotification, it will not impact the basic
location info.

Change-Id: I362ee0f6f09c10e3df64ed6993b73a256690c38d
CRs-fixed: 2468348
This commit is contained in:
Wei Chen 2019-06-10 10:10:53 -07:00
parent 3bbb89aee1
commit 061857b079

View file

@ -938,7 +938,8 @@ typedef struct {
} GnssSystemTime;
typedef struct {
uint32_t size; // set to sizeof(GnssLocationInfo)
uint32_t size; // set to sizeof(GnssLocationInfo)
Location location; // basic locaiton info, latitude, longitude, and etc
GnssLocationInfoFlagMask flags; // bitwise OR of GnssLocationInfoBits for param validity
float altitudeMeanSeaLevel; // altitude wrt mean sea level
float pdop; // position dilusion of precision
@ -971,7 +972,6 @@ typedef struct {
GnssMeasUsageInfo measUsageInfo[GNSS_SV_MAX]; // GNSS Measurement Usage info
uint8_t leapSeconds; // leap second
float timeUncMs; // Time uncertainty in milliseconds
Location location;
} GnssLocationInfoNotification;
typedef struct {