mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-04 05:05:19 +08:00
sensors/vehicle_angular_velocity: print full sensor_selection if device id not found
This commit is contained in:
@@ -333,6 +333,8 @@ bool VehicleAngularVelocity::SensorSelectionUpdate(const hrt_abstime &time_now_u
|
|||||||
|
|
||||||
if (device_id != 0) {
|
if (device_id != 0) {
|
||||||
PX4_ERR("unable to find or subscribe to selected sensor (%" PRIu32 ")", device_id);
|
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;
|
_selected_sensor_device_id = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user