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
This commit is contained in:
parent
9b1ce88872
commit
0330e79d4a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue