mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 12:47:35 +08:00
delete unused SENSORIOCGROTATION
This commit is contained in:
@@ -147,11 +147,6 @@
|
||||
*/
|
||||
#define SENSORIOCRESET _SENSORIOC(4)
|
||||
|
||||
/**
|
||||
* Get the sensor orientation
|
||||
*/
|
||||
#define SENSORIOCGROTATION _SENSORIOC(6)
|
||||
|
||||
/**
|
||||
* Test the sensor calibration
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user