From c4872ea2a65b04577c090325735e6d9b7dcf8736 Mon Sep 17 00:00:00 2001 From: Kurt Nistelberger Date: Wed, 1 Mar 2023 19:01:08 -0800 Subject: [PATCH] laikad: fix qcom without internet (#27468) move week Co-authored-by: Kurt Nistelberger old-commit-hash: cb2a53ae80ab3917986266290f37ef0228a6ca21 --- selfdrive/locationd/laikad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/locationd/laikad.py b/selfdrive/locationd/laikad.py index 10c5e1b7e5..2b18dcf152 100755 --- a/selfdrive/locationd/laikad.py +++ b/selfdrive/locationd/laikad.py @@ -193,10 +193,10 @@ class Laikad: elif self.is_good_report(gnss_msg): week, tow, new_meas = self.read_report(gnss_msg) + self.gps_week = week if len(new_meas) == 0: return None - self.gps_week = week t = gnss_mono_time * 1e-9 if week > 0: self.got_first_gnss_msg = True