mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
Make standby button wake optional and retain ignition wake
This commit is contained in:
committed by
firestar5683
parent
20f38f3d8e
commit
91052ea0e1
@@ -135,7 +135,7 @@ def soundd_run(started: bool, params: Params, CP: car.CarParams, starpilot_toggl
|
||||
|
||||
def wheel_controls_enabled(started: bool, params: Params, CP: car.CarParams, starpilot_toggles: SimpleNamespace) -> bool:
|
||||
return params.get_bool("WheelControlsEnabled") or (
|
||||
params.get_bool("ScreenManagement") and params.get_bool("StandbyMode")
|
||||
params.get_bool("ScreenManagement") and params.get_bool("StandbyMode") and params.get_bool("StandbyWakeButton")
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user