mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
delete unused SENSORIOCSROTATION
This commit is contained in:
parent
3ead5c2afd
commit
9c378a7ca1
@ -147,11 +147,6 @@
|
||||
*/
|
||||
#define SENSORIOCRESET _SENSORIOC(4)
|
||||
|
||||
/**
|
||||
* Set the sensor orientation
|
||||
*/
|
||||
#define SENSORIOCSROTATION _SENSORIOC(5)
|
||||
|
||||
/**
|
||||
* Get the sensor orientation
|
||||
*/
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user