delete unused IOCTL SENSORIOCGPOLLRATE

This commit is contained in:
Daniel Agar
2018-11-03 16:07:00 -04:00
committed by Lorenz Meier
parent 9cd3e3d1cf
commit 8dfd55fc9e
37 changed files with 6 additions and 284 deletions
-7
View File
@@ -388,13 +388,6 @@ PX4FLOW::ioctl(struct file *filp, int cmd, unsigned long arg)
}
}
case SENSORIOCGPOLLRATE:
if (_measure_ticks == 0) {
return SENSOR_POLLRATE_MANUAL;
}
return (1000 / _measure_ticks);
case SENSORIOCSQUEUEDEPTH: {
/* lower bound is mandatory, upper bound is a sanity check */
if ((arg < 1) || (arg > 100)) {