delete unused ACCELIOCSLOWPASS

This commit is contained in:
Daniel Agar
2017-12-31 09:47:51 -05:00
parent be930d4372
commit 417351390f
11 changed files with 0 additions and 62 deletions
-7
View File
@@ -726,13 +726,6 @@ BMI160::ioctl(struct file *filp, int cmd, unsigned long arg)
case ACCELIOCGLOWPASS:
return _accel_filter_x.get_cutoff_freq();
case ACCELIOCSLOWPASS:
// set software filtering
_accel_filter_x.set_cutoff_frequency(1.0e6f / _call_interval, arg);
_accel_filter_y.set_cutoff_frequency(1.0e6f / _call_interval, arg);
_accel_filter_z.set_cutoff_frequency(1.0e6f / _call_interval, arg);
return OK;
case ACCELIOCSSCALE: {
/* copy scale, but only if off by a few percent */
struct accel_calibration_s *s = (struct accel_calibration_s *) arg;