From 6106fe3d2e3d14b2f12bc5ab0dbf895f2757699f Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sat, 16 Nov 2024 19:19:51 -0500 Subject: [PATCH] Add TODO --- selfdrive/car/car_specific.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/car/car_specific.py b/selfdrive/car/car_specific.py index 96a9d9a8f8..760f900c45 100644 --- a/selfdrive/car/car_specific.py +++ b/selfdrive/car/car_specific.py @@ -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)