From 0893307119aa1fa222d01e3aa5850f0dc4b19cc8 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 29 Jan 2024 20:37:03 -0800 Subject: [PATCH] only bus 0 --- selfdrive/car/gm/values.py | 5 ++--- selfdrive/car/tests/test_fw_fingerprint.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/selfdrive/car/gm/values.py b/selfdrive/car/gm/values.py index 7ce64ca0fe..4469533a0c 100644 --- a/selfdrive/car/gm/values.py +++ b/selfdrive/car/gm/values.py @@ -167,14 +167,13 @@ GM_FW_REQUESTS = [ GM_RX_OFFSET = 0x400 FW_QUERY_CONFIG = FwQueryConfig( - requests=[request for bus, obd_multiplexing in ((0, True), (1, True), (1, False)) for req in GM_FW_REQUESTS for request in [ + requests=[request for req in GM_FW_REQUESTS for request in [ Request( [StdQueries.SHORT_TESTER_PRESENT_REQUEST, req], [StdQueries.SHORT_TESTER_PRESENT_RESPONSE, GM_FW_RESPONSE], rx_offset=GM_RX_OFFSET, - bus=bus, + bus=0, logging=True, - obd_multiplexing=obd_multiplexing, ), ]], extra_ecus=[(Ecu.fwdCamera, 0x24b, None)], diff --git a/selfdrive/car/tests/test_fw_fingerprint.py b/selfdrive/car/tests/test_fw_fingerprint.py index 04d4a69713..620230946f 100755 --- a/selfdrive/car/tests/test_fw_fingerprint.py +++ b/selfdrive/car/tests/test_fw_fingerprint.py @@ -241,7 +241,7 @@ class TestFwFingerprintTiming(unittest.TestCase): total_ref_time = 6.5 brand_ref_times = { 1: { - 'gm': 1.55, + 'gm': 0.5, 'body': 0.1, 'chrysler': 0.3, 'ford': 0.2,