mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 08:03:33 +08:00
Sensors: Do not run an IOCTL only used for printing
This commit is contained in:
@@ -1290,7 +1290,7 @@ Sensors::parameter_update_poll(bool forced)
|
||||
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);
|
||||
|
||||
/* if the calibration is for this device, apply it */
|
||||
|
||||
Reference in New Issue
Block a user