delete unused GYROIOCSHWLOWPASS

This commit is contained in:
Daniel Agar 2017-12-14 12:09:30 -05:00
parent 8b591aa13a
commit cc2cf40e6e
4 changed files with 0 additions and 23 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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)

View File

@ -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: