Merge "Get AGC from PQWM1 regardless of time validity"
This commit is contained in:
commit
4819ca816f
1 changed files with 1 additions and 2 deletions
|
@ -3173,7 +3173,7 @@ void
|
|||
GnssAdapter::reportGnssMeasurementDataEvent(const GnssMeasurementsNotification& measurements,
|
||||
int msInWeek)
|
||||
{
|
||||
LOC_LOGD("%s]: ", __func__);
|
||||
LOC_LOGD("%s]: msInWeek=%d", __func__, msInWeek);
|
||||
|
||||
struct MsgReportGnssMeasurementData : public LocMsg {
|
||||
GnssAdapter& mAdapter;
|
||||
|
@ -3797,7 +3797,6 @@ GnssAdapter::getAgcInformation(GnssMeasurementsNotification& measurements, int m
|
|||
systemstatus->getReport(reports, true);
|
||||
|
||||
if ((!reports.mRfAndParams.empty()) && (!reports.mTimeAndClock.empty()) &&
|
||||
reports.mTimeAndClock.back().mTimeValid &&
|
||||
(abs(msInWeek - (int)reports.mTimeAndClock.back().mGpsTowMs) < 2000)) {
|
||||
|
||||
for (size_t i = 0; i < measurements.count; i++) {
|
||||
|
|
Loading…
Reference in a new issue