mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-04 08:03:42 +08:00
Update selfdrived.py
This commit is contained in:
@@ -575,7 +575,7 @@ class SelfdriveD(CruiseHelper):
|
||||
clear_event_types = set()
|
||||
if ET.WARNING not in self.state_machine.current_alert_types:
|
||||
clear_event_types.add(ET.WARNING)
|
||||
if self.enabled or self.mads.enabled:
|
||||
if self.enabled or ET.USER_DISABLE in self.state_machine.current_alert_types:
|
||||
clear_event_types.add(ET.NO_ENTRY)
|
||||
|
||||
pers = LONGITUDINAL_PERSONALITY_MAP[self.personality]
|
||||
|
||||
Reference in New Issue
Block a user