From 1be4d41c90df40e66b9696faa4e32c04553c7098 Mon Sep 17 00:00:00 2001 From: Jason Young Date: Tue, 27 Sep 2022 15:35:19 -0400 Subject: [PATCH] oops --- selfdrive/car/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/interfaces.py b/selfdrive/car/interfaces.py index f0a125c66..4647a0424 100644 --- a/selfdrive/car/interfaces.py +++ b/selfdrive/car/interfaces.py @@ -248,7 +248,7 @@ class CarInterfaceBase(ABC): # Handle button presses for b in cs_out.buttonEvents: # Enable OP long on falling edge of enable buttons (defaults to accelCruise and decelCruise, overridable per-port) - if not self.CP.pcm_cruise and (b.type in enable_buttons and not b.pressed): + if not self.CP.pcmCruise and (b.type in enable_buttons and not b.pressed): events.add(EventName.buttonEnable) # Disable on rising edge of cancel for both stock and OP long if b.type == ButtonType.cancel and b.pressed: