Sensors: Do not run an IOCTL only used for printing

This commit is contained in:
Lorenz Meier
2015-12-06 23:51:04 +01:00
parent 03babedaf5
commit d45634a308
+1 -1
View File
@@ -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 */