mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-01 13:40:38 +08:00
[uavcan] Fix safety state not getting published (#24972)
This commit is contained in:
1 parent
6095fc710c
commit
6d35ad5d9b
1 file changed
+1
-1
@@ -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