preserve behavior

pull/29658/head
Shane Smiskol 2 years ago committed by GitHub
parent 265c10ed36
commit 6549c085ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      selfdrive/car/hyundai/hyundaicanfd.py

@ -62,8 +62,8 @@ def create_steering_messages(packer, CP, CAN, enabled, lat_active, apply_steer):
def create_cam_0x2a4(packer, CAN, cam_0x2a4):
values = {f"BYTE{i}": cam_0x2a4[f"BYTE{i}"] for i in range(3, 24) if i != 7}
values["COUNTER"] = cam_0x2a4["COUNTER"]
values["SET_ME_0"] = cam_0x2a4["SET_ME_0"]
values["COUNTER"] = 0
values["SET_ME_0"] = 0
values["SET_ME_0_2"] = cam_0x2a4["SET_ME_0_2"]
values["LEFT_LANE_LINE"] = 0
values["RIGHT_LANE_LINE"] = 0

Loading…
Cancel
Save