mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 01:17:51 +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;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,3 +32,4 @@
|
||||
############################################################################
|
||||
|
||||
px4_add_library(drivers_magnetometer PX4Magnetometer.cpp)
|
||||
target_link_libraries(drivers_magnetometer PRIVATE conversion)
|
||||
|
||||
Reference in New Issue
Block a user