mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-05 03:41:37 +08:00
delete unused GYROIOCGEXTERNAL
This commit is contained in:
@@ -94,9 +94,6 @@ struct gyro_calibration_s {
|
|||||||
/** check the status of the sensor */
|
/** check the status of the sensor */
|
||||||
#define GYROIOCSELFTEST _GYROIOC(8)
|
#define GYROIOCSELFTEST _GYROIOC(8)
|
||||||
|
|
||||||
/** determine if hardware is external or onboard */
|
|
||||||
#define GYROIOCGEXTERNAL _GYROIOC(12)
|
|
||||||
|
|
||||||
/** get the current gyro type */
|
/** get the current gyro type */
|
||||||
#define GYROIOCTYPE _GYROIOC(13)
|
#define GYROIOCTYPE _GYROIOC(13)
|
||||||
|
|
||||||
|
|||||||
@@ -1583,9 +1583,6 @@ MPU6000::gyro_ioctl(struct file *filp, int cmd, unsigned long arg)
|
|||||||
case GYROIOCSELFTEST:
|
case GYROIOCSELFTEST:
|
||||||
return gyro_self_test();
|
return gyro_self_test();
|
||||||
|
|
||||||
case GYROIOCGEXTERNAL:
|
|
||||||
return _interface->ioctl(cmd, dummy);
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* give it to the superclass */
|
/* give it to the superclass */
|
||||||
return CDev::ioctl(filp, cmd, arg);
|
return CDev::ioctl(filp, cmd, arg);
|
||||||
|
|||||||
Reference in New Issue
Block a user