VIN: fix rx addr (#31369)

fix rx vin addr
old-commit-hash: b6d195f010
pull/32199/head
Shane Smiskol 1 year ago committed by GitHub
parent 9ed9e5394f
commit e5099a0c64
  1. 2
      selfdrive/car/vin.py

@ -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")

Loading…
Cancel
Save