mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-24 05:32:10 +08:00
Merge branch 'navmodeld-fix' into master-dev-c3
This commit is contained in:
@@ -45,7 +45,7 @@ def only_offroad(started, params, CP: car.CarParams) -> bool:
|
||||
|
||||
def model_use_nav(started, params, CP: car.CarParams) -> bool:
|
||||
custom_model, model_gen = get_model_generation(params)
|
||||
return started and custom_model and model_gen != 4
|
||||
return started and custom_model and model_gen not in (0, 4)
|
||||
|
||||
procs = [
|
||||
DaemonProcess("manage_athenad", "selfdrive.athena.manage_athenad", "AthenadPid"),
|
||||
|
||||
Reference in New Issue
Block a user