wrong var

This commit is contained in:
Jason Wen
2023-02-23 22:58:02 -05:00
parent 1c047c6193
commit 5faea1a6d9
+1 -1
View File
@@ -83,7 +83,7 @@ def create_clu11(packer, frame, clu11, button, CP):
values["CF_Clu_CruiseSwState"] = button
values["CF_Clu_AliveCnt1"] = frame % 0x10
# send buttons to camera on camera-scc based cars
bus = 2 if CP.car_fingerprint in CAMERA_SCC_CAR else 1 if CP.flags & HyundaiFlags.CAN_CANFD else 0
bus = 2 if CP.carFingerprint in CAMERA_SCC_CAR else 1 if CP.flags & HyundaiFlags.CAN_CANFD else 0
return packer.make_can_msg("CLU11", bus, values)