mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 10:03:35 +08:00
boards: CUAV CAN_GPS v1.2 cannode (stm32f412) with UAVCAN bootloader
This commit is contained in:
@@ -43,6 +43,8 @@ px4_add_module(
|
||||
ms5611_main.cpp
|
||||
MS5611.hpp
|
||||
DEPENDS
|
||||
cdev
|
||||
drivers__device
|
||||
drivers_barometer
|
||||
px4_work_queue
|
||||
)
|
||||
|
||||
@@ -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