mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 08:16:06 +08:00
VIN: fix rx addr (#31369)
fix rx vin addr old-commit-hash: b6d195f0100bfc86ccefa0eed49716eaf57c1c6b
This commit is contained in:
@@ -49,7 +49,7 @@ def get_vin(logcan, sendcan, buses, timeout=0.1, retry=3, debug=False):
|
||||
vin = vin[1:18]
|
||||
|
||||
cloudlog.error(f"got vin with {request=}")
|
||||
return get_rx_addr_for_tx_addr(addr), bus, vin.decode()
|
||||
return get_rx_addr_for_tx_addr(addr, rx_offset=rx_offset), bus, vin.decode()
|
||||
except Exception:
|
||||
cloudlog.exception("VIN query exception")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user