delete unused ACCELIOCGHWLOWPASS

This commit is contained in:
Daniel Agar
2017-12-14 12:08:25 -05:00
parent 0f8f319411
commit 8b591aa13a
4 changed files with 0 additions and 23 deletions
-7
View File
@@ -471,13 +471,6 @@ BMI055_accel::ioctl(struct file *filp, int cmd, unsigned long arg)
case ACCELIOCSELFTEST:
return accel_self_test();
#ifdef ACCELIOCGHWLOWPASS
case ACCELIOCGHWLOWPASS:
return _dlpf_freq;
#endif
default:
/* give it to the superclass */
return SPI::ioctl(filp, cmd, arg);
-7
View File
@@ -751,13 +751,6 @@ BMI160::ioctl(struct file *filp, int cmd, unsigned long arg)
case ACCELIOCSELFTEST:
return accel_self_test();
#ifdef ACCELIOCGHWLOWPASS
case ACCELIOCGHWLOWPASS:
return _dlpf_freq;
#endif
default:
/* give it to the superclass */
return SPI::ioctl(filp, cmd, arg);
-3
View File
@@ -97,9 +97,6 @@ struct accel_calibration_s {
/** get the result of a sensor self-test */
#define ACCELIOCSELFTEST _ACCELIOC(9)
/** get the hardware low-pass filter cut-off in Hz*/
#define ACCELIOCGHWLOWPASS _ACCELIOC(11)
/** determine if hardware is external or onboard */
#define ACCELIOCGEXTERNAL _ACCELIOC(12)
-6
View File
@@ -926,12 +926,6 @@ MPU9250::ioctl(struct file *filp, int cmd, unsigned long arg)
case ACCELIOCSELFTEST:
return accel_self_test();
#ifdef ACCELIOCGHWLOWPASS
case ACCELIOCGHWLOWPASS:
return _dlpf_freq;
#endif
default:
/* give it to the superclass */
return CDev::ioctl(filp, cmd, arg);