FPv2: only set multiplexing when needed (#27669)

* only set multiplexing if bus matters

* these don't matter anymore
old-commit-hash: 9e023b3ead
beeps
Shane Smiskol 2 years ago committed by GitHub
parent 7a56692c24
commit b6897bce1a
  1. 1
      selfdrive/car/fw_versions.py
  2. 2
      selfdrive/car/hyundai/values.py

@ -280,6 +280,7 @@ def get_fw_versions(logcan, sendcan, query_brand=None, extra=None, timeout=0.1,
continue
# Toggle OBD multiplexing for each request
if r.bus % 4 == 1:
set_obd_multiplexing(params, r.obd_multiplexing)
try:

@ -369,7 +369,6 @@ FW_QUERY_CONFIG = FwQueryConfig(
whitelist_ecus=[Ecu.fwdCamera, Ecu.fwdRadar, Ecu.cornerRadar, Ecu.hvac],
bus=0,
auxiliary=True,
obd_multiplexing=False,
),
Request(
[HYUNDAI_VERSION_REQUEST_LONG],
@ -387,7 +386,6 @@ FW_QUERY_CONFIG = FwQueryConfig(
whitelist_ecus=[Ecu.parking],
bus=0,
auxiliary=True,
obd_multiplexing=False,
),
Request(
[HYUNDAI_VERSION_REQUEST_ALT],

Loading…
Cancel
Save