mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-27 03:02:05 +08:00
allow entering paused state if no entry from disabled
This commit is contained in:
@@ -94,8 +94,8 @@ class StateMachine:
|
||||
# DISABLED
|
||||
elif self.state == State.disabled:
|
||||
if events.contains(ET.ENABLE):
|
||||
# TODO-SP: Allow entering State.paused if ET.NO_ENTRY
|
||||
if events.contains(ET.NO_ENTRY):
|
||||
self.state = State.paused
|
||||
self.add_current_alert_types(ET.NO_ENTRY)
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user