copy controlsd

audible-cancel
Shane Smiskol 6 months ago
parent 61876e6190
commit 178a41256d
  1. 2
      selfdrive/selfdrived/selfdrived.py

@ -158,7 +158,7 @@ class SelfdriveD:
if self.CP.passive:
return
if self.sm['carControl'].cruiseControl.cancel:
if CS.cruiseState.enabled and (not self.enabled or not self.CP.pcmCruise):
self.events.add(EventName.cancellingCruise)
# Block resume if cruise never previously enabled

Loading…
Cancel
Save