forked from Archive/PX4-Autopilot
delete unused GYROIOCSHWLOWPASS
This commit is contained in:
parent
8b591aa13a
commit
cc2cf40e6e
|
@ -473,12 +473,6 @@ BMI055_gyro::ioctl(struct file *filp, int cmd, unsigned long arg)
|
|||
case GYROIOCSELFTEST:
|
||||
return gyro_self_test();
|
||||
|
||||
#ifdef GYROIOCSHWLOWPASS
|
||||
|
||||
case GYROIOCSHWLOWPASS:
|
||||
return OK;
|
||||
#endif
|
||||
|
||||
#ifdef GYROIOCGHWLOWPASS
|
||||
|
||||
case GYROIOCGHWLOWPASS:
|
||||
|
|
|
@ -824,13 +824,6 @@ BMI160::gyro_ioctl(struct file *filp, int cmd, unsigned long arg)
|
|||
case GYROIOCSELFTEST:
|
||||
return gyro_self_test();
|
||||
|
||||
#ifdef GYROIOCSHWLOWPASS
|
||||
|
||||
case GYROIOCSHWLOWPASS:
|
||||
_set_dlpf_filter(arg);
|
||||
return OK;
|
||||
#endif
|
||||
|
||||
#ifdef GYROIOCGHWLOWPASS
|
||||
|
||||
case GYROIOCGHWLOWPASS:
|
||||
|
|
|
@ -100,9 +100,6 @@ struct gyro_calibration_s {
|
|||
/** check the status of the sensor */
|
||||
#define GYROIOCSELFTEST _GYROIOC(8)
|
||||
|
||||
/** set the hardware low-pass filter cut-off no lower than (arg) Hz */
|
||||
#define GYROIOCSHWLOWPASS _GYROIOC(9)
|
||||
|
||||
/** get the hardware low-pass filter cut-off in Hz*/
|
||||
#define GYROIOCGHWLOWPASS _GYROIOC(10)
|
||||
|
||||
|
|
|
@ -1004,13 +1004,6 @@ MPU9250::gyro_ioctl(struct file *filp, int cmd, unsigned long arg)
|
|||
case GYROIOCSELFTEST:
|
||||
return gyro_self_test();
|
||||
|
||||
#ifdef GYROIOCSHWLOWPASS
|
||||
|
||||
case GYROIOCSHWLOWPASS:
|
||||
_set_dlpf_filter(arg);
|
||||
return OK;
|
||||
#endif
|
||||
|
||||
#ifdef GYROIOCGHWLOWPASS
|
||||
|
||||
case GYROIOCGHWLOWPASS:
|
||||
|
|
Loading…
Reference in New Issue