mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-27 17:43:58 +08:00
debug: set OBD multiplexing mode for VIN (#32130)
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user