Browse Source

sensors/vehicle_angular_velocity: print full sensor_selection if device id not found

master
Daniel Agar 3 years ago
parent
commit
07c273fc31
  1. 2
      src/modules/sensors/vehicle_angular_velocity/VehicleAngularVelocity.cpp

2
src/modules/sensors/vehicle_angular_velocity/VehicleAngularVelocity.cpp

@ -333,6 +333,8 @@ bool VehicleAngularVelocity::SensorSelectionUpdate(const hrt_abstime &time_now_u @@ -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…
Cancel
Save