mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 23:20:34 +08:00
uavcan: minor fix regarding log output (#21415)
Error message for "UavcanServers init" returns error code from UavcanServers->init instead of _sensor_bridges->init
This commit is contained in:
@@ -577,7 +577,7 @@ UavcanNode::init(uavcan::NodeID node_id, UAVCAN_DRIVER::BusEvent &bus_events)
|
||||
int rv = _servers->init();
|
||||
|
||||
if (rv < 0) {
|
||||
PX4_ERR("UavcanServers init: %d", ret);
|
||||
PX4_ERR("UavcanServers init: %d", rv);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user