summaryrefslogtreecommitdiff
path: root/gnss
diff options
context:
space:
mode:
authorWei Chen <weic@codeaurora.org>2019-03-29 16:59:07 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-04-30 14:54:33 -0700
commit0330e79d4a87db7e1ee358f0e87a49d34c8f3690 (patch)
tree5a77f6b9a479daa9949bf9cf249ee390dd6d849c /gnss
parent9b1ce8887233de61c476bff6d114be9b4ac9aa68 (diff)
downloadgps-0330e79d4a87db7e1ee358f0e87a49d34c8f3690.tar.gz
Gnss adapter: fill in proper std deviation in position report
The north and east standard deviation fields are not filled in properly in position report Change-Id: Ic243a6862f3fa4e723b507d391c9a904d65d3c30 CRs-fixed: 2426344
Diffstat (limited to 'gnss')
-rw-r--r--gnss/GnssAdapter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnss/GnssAdapter.cpp b/gnss/GnssAdapter.cpp
index 2039465..edfc150 100644
--- a/gnss/GnssAdapter.cpp
+++ b/gnss/GnssAdapter.cpp
@@ -303,11 +303,11 @@ GnssAdapter::convertLocationInfo(GnssLocationInfoNotification& out,
}
if (GPS_LOCATION_EXTENDED_HAS_NORTH_STD_DEV & locationExtended.flags) {
out.flags |= GNSS_LOCATION_INFO_NORTH_STD_DEV_BIT;
- out.northVelocityStdDeviation = locationExtended.northStdDeviation;
+ out.northStdDeviation = locationExtended.northStdDeviation;
}
if (GPS_LOCATION_EXTENDED_HAS_EAST_STD_DEV & locationExtended.flags) {
out.flags |= GNSS_LOCATION_INFO_EAST_STD_DEV_BIT;
- out.eastVelocityStdDeviation = locationExtended.eastStdDeviation;
+ out.eastStdDeviation = locationExtended.eastStdDeviation;
}
if (GPS_LOCATION_EXTENDED_HAS_NORTH_VEL & locationExtended.flags) {
out.flags |= GNSS_LOCATION_INFO_NORTH_VEL_BIT;