mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-23 06:43:47 +08:00
Add TODO
This commit is contained in:
@@ -218,6 +218,7 @@ class CarSpecificEvents:
|
||||
if not self.CP.pcmCruise and (b.type in enable_buttons and not b.pressed):
|
||||
events.add(EventName.buttonEnable)
|
||||
# Disable on rising and falling edge of cancel for both stock and OP long
|
||||
# TODO-SP: Implement in separate PR for 'allow_cancel'
|
||||
if b.type == ButtonType.cancel and allow_cancel:
|
||||
events.add(EventName.buttonCancel)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user