delete IOCTL SENSOR_POLLRATE_MANUAL

- only used in self tests
This commit is contained in:
Daniel Agar
2018-11-06 07:43:43 +08:00
committed by Lorenz Meier
parent 8dfd55fc9e
commit 556a9422b5
42 changed files with 3 additions and 299 deletions
@@ -344,12 +344,6 @@ SRF02::ioctl(device::file_t *filp, int cmd, unsigned long arg)
case SENSORIOCSPOLLRATE: {
switch (arg) {
/* switching to manual polling */
case SENSOR_POLLRATE_MANUAL:
stop();
_measure_ticks = 0;
return OK;
/* zero would be bad */
case 0:
return -EINVAL;