ecu addrs: add warning when skipping remote frame (#27959)

add warning
pull/27958/head
Shane Smiskol 2 years ago committed by GitHub
parent 3924c14b74
commit f94528d65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      selfdrive/car/ecu_addrs.py

@ -56,6 +56,7 @@ def get_ecu_addrs(logcan: messaging.SubSocket, sendcan: messaging.PubSocket, que
for packet in can_packets:
for msg in packet.can:
if not len(msg.dat):
cloudlog.warning("ECU addr scan: skipping empty remote frame")
continue
subaddr = None if (msg.address, None, msg.src) in responses else msg.dat[0]

Loading…
Cancel
Save