30 _positionAtUs = nowUs;
32 const auto recent = [
this, nowUs](uint64_t atUs) {
return MonotonicClock::fresh(atUs, nowUs, _window); };
34 if (recent(_positionAtUs)) {
35 current = GPSInputProblem::None;
36 }
else if (!recent(_bytesAtUs)) {
37 current = GPSInputProblem::NoData;
38 }
else if (identified) {
39 current = GPSInputProblem::NoPositions;
40 }
else if (recent(_dataAtUs)) {
41 current = GPSInputProblem::CorrectionsOnly;
43 const bool changed = current != _problem;