mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
GCS_Common: report ARM CPUID on startup
This commit is contained in:
parent
9db5d0bf9b
commit
9ac683a350
@ -4221,7 +4221,8 @@ void GCS_MAVLINK::send_banner()
|
|||||||
#define DEVID_MASK 0xFFF
|
#define DEVID_MASK 0xFFF
|
||||||
if (AP_BoardConfig::io_enabled()) {
|
if (AP_BoardConfig::io_enabled()) {
|
||||||
uint32_t mcuid = iomcu.get_mcu_id();
|
uint32_t mcuid = iomcu.get_mcu_id();
|
||||||
send_text(MAV_SEVERITY_INFO, "IOMCU: %x %x", uint16_t(mcuid & DEVID_MASK), uint16_t((mcuid & REVID_MASK) >> 16U));
|
send_text(MAV_SEVERITY_INFO, "IOMCU: %x %x %lx", uint16_t(mcuid & DEVID_MASK), uint16_t((mcuid & REVID_MASK) >> 16U),
|
||||||
|
iomcu.get_cpu_id());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user