mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
sensors/vehicle_angular_velocity: print full sensor_selection if device id not found
This commit is contained in:
parent
94604ff21a
commit
07c273fc31
@ -333,6 +333,8 @@ bool VehicleAngularVelocity::SensorSelectionUpdate(const hrt_abstime &time_now_u
|
||||
|
||||
if (device_id != 0) {
|
||||
PX4_ERR("unable to find or subscribe to selected sensor (%" PRIu32 ")", device_id);
|
||||
|
||||
print_message(ORB_ID(sensor_selection), sensor_selection);
|
||||
}
|
||||
|
||||
_selected_sensor_device_id = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user