debug: set OBD multiplexing mode for VIN (#32130)

pull/214/head
Shane Smiskol 1 year ago committed by GitHub
parent db10f9be64
commit 16a473b3aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      selfdrive/car/fw_versions.py

@ -373,6 +373,7 @@ if __name__ == "__main__":
t = time.time()
print("Getting vin...")
set_obd_multiplexing(params, True)
vin_rx_addr, vin_rx_bus, vin = get_vin(logcan, sendcan, (0, 1), retry=10, debug=args.debug)
print(f'RX: {hex(vin_rx_addr)}, BUS: {vin_rx_bus}, VIN: {vin}')
print(f"Getting VIN took {time.time() - t:.3f} s")

Loading…
Cancel
Save