Skip to content
Snippets Groups Projects
Commit 9d61febd authored by Daniel Agar's avatar Daniel Agar Committed by Lorenz Meier
Browse files

tfmini remove obsolete IOCTLs

parent 49bed479
No related branches found
No related tags found
No related merge requests found
......@@ -451,25 +451,10 @@ TFMINI::ioctl(struct file *filp, int cmd, unsigned long arg)
return OK;
}
case SENSORIOCGQUEUEDEPTH:
return _reports->size();
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;
case RANGEFINDERIOCSETMINIUMDISTANCE: {
set_minimum_distance(*(float *)arg);
return 0;
}
break;
case RANGEFINDERIOCSETMAXIUMDISTANCE: {
set_maximum_distance(*(float *)arg);
return 0;
}
break;
default:
/* give it to the superclass */
return CDev::ioctl(filp, cmd, arg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment