mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 07:13:34 +08:00
boards: CUAV CAN_GPS v1.2 cannode (stm32f412) with UAVCAN bootloader
This commit is contained in:
@@ -626,7 +626,10 @@ extern "C" __EXPORT int uavcannode_main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (!std::strcmp(argv[1], "status") || !std::strcmp(argv[1], "info")) {
|
||||
inst->print_info();
|
||||
if (inst) {
|
||||
inst->print_info();
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user