mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 08:38:53 +08:00
[uavcan] Fix safety state not getting published (#24972)
This commit is contained in:
@@ -546,7 +546,7 @@ UavcanNode::init(uavcan::NodeID node_id, UAVCAN_DRIVER::BusEvent &bus_events)
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_UAVCAN_SAFETY_CONTROLLER)
|
||||
#if defined(CONFIG_UAVCAN_SAFETY_STATE_CONTROLLER)
|
||||
ret = _safety_state_controller.init();
|
||||
|
||||
if (ret < 0) {
|
||||
|
||||
Reference in New Issue
Block a user