wip
This commit is contained in:
@@ -114,13 +114,14 @@ class CarController:
|
|||||||
can_sends.extend(hyundaicanfd.create_steering_messages(self.packer, self.CP, self.CAN, CC.enabled, apply_steer_req, apply_steer))
|
can_sends.extend(hyundaicanfd.create_steering_messages(self.packer, self.CP, self.CAN, CC.enabled, apply_steer_req, apply_steer))
|
||||||
|
|
||||||
# MODIFIED BBOT
|
# MODIFIED BBOT
|
||||||
# if self.frame % 5 == 0 and hda2:
|
if self.frame % 5 == 0 and hda2:
|
||||||
# can_sends.append(hyundaicanfd.create_suppress_lfa(self.packer, self.CAN, CS.hda2_lfa_block_msg,
|
can_sends.append(hyundaicanfd.create_suppress_lfa(self.packer, self.CAN, CS.hda2_lfa_block_msg,
|
||||||
# self.CP.flags & HyundaiFlags.CANFD_HDA2_ALT_STEERING))
|
self.CP.flags & HyundaiFlags.CANFD_HDA2_ALT_STEERING))
|
||||||
|
|
||||||
|
# MODIFIED BBOT
|
||||||
# LFA and HDA icons
|
# LFA and HDA icons
|
||||||
# if self.frame % 5 == 0 and (not hda2 or hda2_long):
|
if self.frame % 5 == 0 and (not hda2 or hda2_long):
|
||||||
# can_sends.append(hyundaicanfd.create_lfahda_cluster(self.packer, self.CAN, CC.enabled))
|
can_sends.append(hyundaicanfd.create_lfahda_cluster(self.packer, self.CAN, CC.enabled))
|
||||||
|
|
||||||
# blinkers
|
# blinkers
|
||||||
if hda2 and self.CP.flags & HyundaiFlags.ENABLE_BLINKERS:
|
if hda2 and self.CP.flags & HyundaiFlags.ENABLE_BLINKERS:
|
||||||
|
|||||||
Reference in New Issue
Block a user