just to test

pull/23307/head
vanillagorillaa 4 years ago
parent e3c17d2bdd
commit 29129cac24
  1. 4
      selfdrive/car/honda/hondacan.py

@ -165,10 +165,10 @@ def create_ui_commands(packer, CP, pcm_speed, hud, is_metric, idx, stock_hud):
return commands return commands
def spam_buttons_command(packer, button_val, idx, car_fingerprint): def spam_buttons_command(packer, button_val, idx):
values = { values = {
'CRUISE_BUTTONS': button_val, 'CRUISE_BUTTONS': button_val,
'CRUISE_SETTING': 0, 'CRUISE_SETTING': 0,
} }
bus = get_pt_bus(car_fingerprint) bus = 2
return packer.make_can_msg("SCM_BUTTONS", bus, values, idx) return packer.make_can_msg("SCM_BUTTONS", bus, values, idx)

Loading…
Cancel
Save