wip
This commit is contained in:
@@ -223,10 +223,10 @@ class CarController(CarControllerBase):
|
|||||||
if self.CP.flags & HyundaiFlags.CANFD_ALT_BUTTONS:
|
if self.CP.flags & HyundaiFlags.CANFD_ALT_BUTTONS:
|
||||||
# pass
|
# pass
|
||||||
# can_sends.append(hyundaicanfd.create_acc_cancel(self.packer, self.CP, self.CAN, CS.cruise_info))
|
# can_sends.append(hyundaicanfd.create_acc_cancel(self.packer, self.CP, self.CAN, CS.cruise_info))
|
||||||
for _ in range(20):
|
# for _ in range(20):
|
||||||
if CS.cruise_can_msg:
|
# if CS.cruise_can_msg:
|
||||||
can_sends.append(hyundaicanfd.create_buttons_alt(self.packer, self.CP, self.CAN, CS.buttons_counter+1, Buttons.CANCEL, CS.cruise_can_msg))
|
# can_sends.append(hyundaicanfd.create_buttons_alt(self.packer, self.CP, self.CAN, CS.buttons_counter+1, Buttons.CANCEL, CS.cruise_can_msg))
|
||||||
print("Try Cancel Button Alt")
|
# print("Try Cancel Button Alt")
|
||||||
self.last_button_frame = self.frame
|
self.last_button_frame = self.frame
|
||||||
CS.lkas_trigger_result = 1
|
CS.lkas_trigger_result = 1
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user