summaryrefslogtreecommitdiff
path: root/utils/loc_gps.h
diff options
context:
space:
mode:
authorBhavna Sharma <sbhavna@codeaurora.org>2017-07-03 18:46:41 -0700
committerBhavna Sharma <sbhavna@codeaurora.org>2017-07-13 15:16:59 -0700
commitbe7f077122deebc468cf609cb5739a845ce7beec (patch)
treece30dcb28fb808f98ecea06a41f16966d9d7e770 /utils/loc_gps.h
parent86786d166a8ee8a8a8b389f942c08b70eab5c4dd (diff)
downloadgps-be7f077122deebc468cf609cb5739a845ce7beec.tar.gz
Fix to report bearing and speed accuracy
1. Validity bit for vertical uncertainity was conflicting with the validity bit of location source, hence had to change the bit. 2. Modify ZPP API to report speed and bearing accuracy. CRs-Fixed:2064017 Change-Id: I8b09ecab3d67557ad7c2451fee71dbc0e1f14371
Diffstat (limited to 'utils/loc_gps.h')
-rw-r--r--utils/loc_gps.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/loc_gps.h b/utils/loc_gps.h
index e3f2182..77ebe54 100644
--- a/utils/loc_gps.h
+++ b/utils/loc_gps.h
@@ -99,7 +99,7 @@ typedef uint16_t LocGpsLocationFlags;
/** LocGpsLocation has valid accuracy. */
#define LOC_GPS_LOCATION_HAS_ACCURACY 0x0010
/** LocGpsLocation has valid vertical uncertainity */
-#define LOC_GPS_LOCATION_HAS_VERT_UNCERTAINITY 0x0020
+#define LOC_GPS_LOCATION_HAS_VERT_UNCERTAINITY 0x0040
/** Flags for the loc_gps_set_capabilities callback. */
@@ -541,7 +541,7 @@ typedef struct {
* Represents altitude in meters above the WGS 84 reference ellipsoid.
*/
double altitude;
- /** Represents speed in meters per second. */
+ /** Represents horizontal speed in meters per second. */
float speed;
/** Represents heading in degrees. */
float bearing;