mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
uavcan_monitor update
This commit is contained in:
parent
1a5bd6c906
commit
9c2a61e0fd
@ -104,8 +104,7 @@ class Monitor : public uavcan::NodeStatusMonitor
|
||||
CLIColorizer clz(health_and_color.first);
|
||||
std::printf(" %-8s ", health_and_color.second.c_str());
|
||||
}
|
||||
std::printf("| %-10lu | %04x %s'%s %u\n", uptime,
|
||||
vendor_code,
|
||||
std::printf("| %-10lu | %04x %s'%s %u\n", uptime, vendor_code,
|
||||
std::bitset<8>((vendor_code >> 8) & 0xFF).to_string().c_str(),
|
||||
std::bitset<8>(vendor_code).to_string().c_str(),
|
||||
vendor_code);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user