This commit is contained in:
Your Name
2024-05-04 02:27:40 -05:00
parent 0328d5737c
commit 28338468d3
3 changed files with 33 additions and 2 deletions

View File

@@ -198,7 +198,7 @@ class CarController(CarControllerBase):
if (self.frame - self.last_button_frame) * DT_CTRL > 0.25:
# cruise cancel
if CC.cruiseControl.cancel:
if False and self.CP.flags & HyundaiFlags.CANFD_ALT_BUTTONS:
if self.CP.flags & HyundaiFlags.CANFD_ALT_BUTTONS:
can_sends.append(hyundaicanfd.create_acc_cancel(self.packer, self.CP, self.CAN, CS.cruise_info))
self.last_button_frame = self.frame
CS.lkas_trigger_result = 1