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
0c73d40376
commit
664e643170
1 changed files with 1 additions and 2 deletions
|
@ -120,8 +120,7 @@ Return<void> GnssDebug::getDebugData(getDebugData_cb _hidl_cb)
|
|||
reports.mTime.frequencyUncertaintyNsPerSec;
|
||||
}
|
||||
|
||||
if (data.time.timeEstimate <= 0 ||
|
||||
data.time.timeEstimate > GNSS_DEBUG_UNKNOWN_UTC_TIME) {
|
||||
if (data.time.timeEstimate < GNSS_DEBUG_UNKNOWN_UTC_TIME) {
|
||||
data.time.timeEstimate = GNSS_DEBUG_UNKNOWN_UTC_TIME;
|
||||
}
|
||||
if (data.time.timeUncertaintyNs <= 0 ||
|
||||
|
|
Loading…
Reference in a new issue