Update selfdrived.py

This commit is contained in:
royjr
2026-08-24 01:17:32 -04:00
parent 8d49466b62
commit bd1d54e239
+1 -1
View File
@@ -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]