mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 11:32:21 +08:00
laikad: fix qcom without internet (#27468)
move week Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com> old-commit-hash: cb2a53ae80ab3917986266290f37ef0228a6ca21
This commit is contained in:
committed by
GitHub
parent
58b501a2eb
commit
c4872ea2a6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user