mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-06 13:15:45 +08:00
MADS: don't show cruiseEngageBlocked when in standstill (#52)
This commit is contained in:
@@ -531,7 +531,7 @@ class CarInterfaceBase(ABC):
|
||||
events.add(EventName.silentButtonEnable)
|
||||
else:
|
||||
events.add(EventName.buttonEnable)
|
||||
if cs_out.disengageByBrake and enable_pressed_long:
|
||||
if cs_out.disengageByBrake and not cs_out.standstill and enable_pressed_long:
|
||||
events.add(EventName.cruiseEngageBlocked)
|
||||
|
||||
if cs_out.cruiseState.enabled:
|
||||
|
||||
Reference in New Issue
Block a user