delete unused SENSORIOCSROTATION

This commit is contained in:
Daniel Agar 2017-12-13 20:33:36 -05:00
parent 3ead5c2afd
commit 9c378a7ca1
2 changed files with 0 additions and 9 deletions

View File

@ -147,11 +147,6 @@
*/
#define SENSORIOCRESET _SENSORIOC(4)
/**
* Set the sensor orientation
*/
#define SENSORIOCSROTATION _SENSORIOC(5)
/**
* Get the sensor orientation
*/

View File

@ -388,10 +388,6 @@ PX4FLOW::ioctl(struct file *filp, int cmd, unsigned long arg)
case SENSORIOCGQUEUEDEPTH:
return _reports->size();
case SENSORIOCSROTATION:
_sensor_rotation = (enum Rotation)arg;
return OK;
case SENSORIOCGROTATION:
return _sensor_rotation;