mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 02:53:34 +08:00
delete unused SENSORIOCSROTATION
This commit is contained in:
@@ -147,11 +147,6 @@
|
|||||||
*/
|
*/
|
||||||
#define SENSORIOCRESET _SENSORIOC(4)
|
#define SENSORIOCRESET _SENSORIOC(4)
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the sensor orientation
|
|
||||||
*/
|
|
||||||
#define SENSORIOCSROTATION _SENSORIOC(5)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the sensor orientation
|
* Get the sensor orientation
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -388,10 +388,6 @@ PX4FLOW::ioctl(struct file *filp, int cmd, unsigned long arg)
|
|||||||
case SENSORIOCGQUEUEDEPTH:
|
case SENSORIOCGQUEUEDEPTH:
|
||||||
return _reports->size();
|
return _reports->size();
|
||||||
|
|
||||||
case SENSORIOCSROTATION:
|
|
||||||
_sensor_rotation = (enum Rotation)arg;
|
|
||||||
return OK;
|
|
||||||
|
|
||||||
case SENSORIOCGROTATION:
|
case SENSORIOCGROTATION:
|
||||||
return _sensor_rotation;
|
return _sensor_rotation;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user