mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 05:23:33 +08:00
Master: Less verbosity
This commit is contained in:
@@ -1362,8 +1362,8 @@ Sensors::parameter_update_poll(bool forced)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
int id = h.ioctl(DEVIOCGDEVICEID, 0);
|
// int id = h.ioctl(DEVIOCGDEVICEID, 0);
|
||||||
PX4_WARN("sensors: device ID: %s: %d, %u", str, id, (unsigned)id);
|
// PX4_WARN("sensors: device ID: %s: %d, %u", str, id, (unsigned)id);
|
||||||
|
|
||||||
/* if the calibration is for this device, apply it */
|
/* if the calibration is for this device, apply it */
|
||||||
if (device_id == h.ioctl(DEVIOCGDEVICEID, 0)) {
|
if (device_id == h.ioctl(DEVIOCGDEVICEID, 0)) {
|
||||||
@@ -1443,8 +1443,8 @@ Sensors::parameter_update_poll(bool forced)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
int id = h.ioctl(DEVIOCGDEVICEID, 0);
|
// int id = h.ioctl(DEVIOCGDEVICEID, 0);
|
||||||
PX4_WARN("sensors: device ID: %s: %d, %u", str, id, (unsigned)id);
|
// PX4_WARN("sensors: device ID: %s: %d, %u", str, id, (unsigned)id);
|
||||||
|
|
||||||
/* if the calibration is for this device, apply it */
|
/* if the calibration is for this device, apply it */
|
||||||
if (device_id == h.ioctl(DEVIOCGDEVICEID, 0)) {
|
if (device_id == h.ioctl(DEVIOCGDEVICEID, 0)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user