From 7fd83f056a31959a9fe45c6efee1ceecb29ef5e3 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Thu, 12 Dec 2024 23:23:41 -0500 Subject: [PATCH] ignore pre enable with mads --- sunnypilot/mads/mads.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sunnypilot/mads/mads.py b/sunnypilot/mads/mads.py index 49f7b8e935..871d0203a3 100644 --- a/sunnypilot/mads/mads.py +++ b/sunnypilot/mads/mads.py @@ -103,6 +103,8 @@ class ModularAssistiveDrivingSystem: if self.state_machine.state == State.paused: self.events.add(EventName.silentLkasEnable) + self.events.remove(EventName.preEnableStandstill) + if self.events.has(EventName.pcmEnable) or self.events.has(EventName.buttonEnable): update_unified_engagement_mode() else: