delete unused SENSORIOCGROTATION

This commit is contained in:
Daniel Agar
2017-12-13 20:34:30 -05:00
parent 9c378a7ca1
commit 4980b93830
2 changed files with 0 additions and 8 deletions
-5
View File
@@ -147,11 +147,6 @@
*/
#define SENSORIOCRESET _SENSORIOC(4)
/**
* Get the sensor orientation
*/
#define SENSORIOCGROTATION _SENSORIOC(6)
/**
* Test the sensor calibration
*/
-3
View File
@@ -388,9 +388,6 @@ PX4FLOW::ioctl(struct file *filp, int cmd, unsigned long arg)
case SENSORIOCGQUEUEDEPTH:
return _reports->size();
case SENSORIOCGROTATION:
return _sensor_rotation;
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;