mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 16:40:35 +08:00
cleanup module callback registration failed errors
This commit is contained in:
@@ -89,12 +89,12 @@ bool
|
||||
ControlAllocator::init()
|
||||
{
|
||||
if (!_vehicle_torque_setpoint_sub.registerCallback()) {
|
||||
PX4_ERR("vehicle_torque_setpoint callback registration failed!");
|
||||
PX4_ERR("callback registration failed");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!_vehicle_thrust_setpoint_sub.registerCallback()) {
|
||||
PX4_ERR("vehicle_thrust_setpoint callback registration failed!");
|
||||
PX4_ERR("callback registration failed");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user