pull/31221/head
Shane Smiskol 1 year ago
parent 48c5b21b16
commit 0893307119
  1. 5
      selfdrive/car/gm/values.py
  2. 2
      selfdrive/car/tests/test_fw_fingerprint.py

@ -167,14 +167,13 @@ GM_FW_REQUESTS = [
GM_RX_OFFSET = 0x400 GM_RX_OFFSET = 0x400
FW_QUERY_CONFIG = FwQueryConfig( 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( Request(
[StdQueries.SHORT_TESTER_PRESENT_REQUEST, req], [StdQueries.SHORT_TESTER_PRESENT_REQUEST, req],
[StdQueries.SHORT_TESTER_PRESENT_RESPONSE, GM_FW_RESPONSE], [StdQueries.SHORT_TESTER_PRESENT_RESPONSE, GM_FW_RESPONSE],
rx_offset=GM_RX_OFFSET, rx_offset=GM_RX_OFFSET,
bus=bus, bus=0,
logging=True, logging=True,
obd_multiplexing=obd_multiplexing,
), ),
]], ]],
extra_ecus=[(Ecu.fwdCamera, 0x24b, None)], extra_ecus=[(Ecu.fwdCamera, 0x24b, None)],

@ -241,7 +241,7 @@ class TestFwFingerprintTiming(unittest.TestCase):
total_ref_time = 6.5 total_ref_time = 6.5
brand_ref_times = { brand_ref_times = {
1: { 1: {
'gm': 1.55, 'gm': 0.5,
'body': 0.1, 'body': 0.1,
'chrysler': 0.3, 'chrysler': 0.3,
'ford': 0.2, 'ford': 0.2,

Loading…
Cancel
Save