mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-06 04:35:47 +08:00
@@ -291,7 +291,7 @@ def main(demo=False):
|
||||
# Enable/disable nav features
|
||||
timestamp_llk = sm["navModel"].locationMonoTime
|
||||
nav_valid = sm.valid["navModel"] # and (nanos_since_boot() - timestamp_llk < 1e9)
|
||||
nav_enabled = nav_valid and params.get_bool("ExperimentalMode")
|
||||
nav_enabled = nav_valid
|
||||
|
||||
if not nav_enabled:
|
||||
nav_features[:] = 0
|
||||
|
||||
Reference in New Issue
Block a user