fix: Incorrect time estimate in debug report
GNSS Time estimate shown in Gnss debug report is incorrect. It always shows default value instead of value delivered by PQWM1 message. Change-Id: Iff471613ac6fa25d213c14b543871b6c3ae7af0a CRs-Fixed: 2235219
This commit is contained in:
parent
aa7d24a1d0
commit
f708597ed3
1 changed files with 1 additions and 2 deletions
|
@ -139,8 +139,7 @@ Return<void> GnssDebug::getDebugData(getDebugData_cb _hidl_cb)
|
||||||
reports.mTime.frequencyUncertaintyNsPerSec;
|
reports.mTime.frequencyUncertaintyNsPerSec;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.time.timeEstimate <= 0 ||
|
if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) {
|
||||||
data.time.timeEstimate > GNSS_DEBUG_UNKNOWN_UTC_TIME) {
|
|
||||||
data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME;
|
data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME;
|
||||||
}
|
}
|
||||||
if (data.time.timeUncertaintyNs <= 0 ||
|
if (data.time.timeUncertaintyNs <= 0 ||
|
||||||
|
|
Loading…
Reference in a new issue