From 67178ebc4b30ee23f24112ac664062b395b6c4fe Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 5 Feb 2024 02:05:53 -0600 Subject: [PATCH] wip --- selfdrive/car/hyundai/carstate.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/selfdrive/car/hyundai/carstate.py b/selfdrive/car/hyundai/carstate.py index e63033f..26b014f 100644 --- a/selfdrive/car/hyundai/carstate.py +++ b/selfdrive/car/hyundai/carstate.py @@ -306,10 +306,10 @@ class CarState(CarStateBase): # if self.cruise_buttons[-1] == Buttons.GAP_DIST and self.prev_cruise_buttons == 0: # self.custom_speed_down = True - lkas_pressed = cp.vl_all[self.cruise_btns_msg_canfd]["LKAS_BTN"] - if lkas_pressed and not self.lkas_previously_pressed: - self.custom_speed_up = True - self.lkas_previously_pressed = lkas_pressed + # lkas_pressed = cp.vl_all[self.cruise_btns_msg_canfd]["LKAS_BTN"] + # if lkas_pressed and not self.lkas_previously_pressed: + # self.custom_speed_up = True + # self.lkas_previously_pressed = lkas_pressed # Driving personalities function