mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Tools: make decode-devid print address in hex too
This commit is contained in:
parent
72fab7d831
commit
9f41641378
@ -69,6 +69,6 @@ if opts.compass:
|
||||
if opts.imu:
|
||||
decoded_devname = imu_types.get(devtype, "UNKNOWN")
|
||||
|
||||
print("bus_type:%s(%u) bus:%u address:%u devtype:%u(0x%x) %s" % (
|
||||
print("bus_type:%s(%u) bus:%u address:%u(0x%x) devtype:%u(0x%x) %s" % (
|
||||
bustypes.get(bus_type,"UNKNOWN"), bus_type,
|
||||
bus, address, devtype, devtype, decoded_devname))
|
||||
bus, address, address, devtype, devtype, decoded_devname))
|
||||
|
Loading…
Reference in New Issue
Block a user