mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 19:19:06 +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:
parent
f4681f01b6
commit
831b0d9b11
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user