mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 07:33:33 +08:00
delete unused ACCELIOCSLOWPASS
This commit is contained in:
@@ -578,10 +578,6 @@ ACCELSIM::devIOCTL(unsigned long cmd, unsigned long arg)
|
||||
case ACCELIOCGSAMPLERATE:
|
||||
return _accel_samplerate;
|
||||
|
||||
case ACCELIOCSLOWPASS: {
|
||||
return accel_set_driver_lowpass_filter((float)_accel_samplerate, (float)ul_arg);
|
||||
}
|
||||
|
||||
case ACCELIOCSSCALE: {
|
||||
/* copy scale, but only if off by a few percent */
|
||||
struct accel_calibration_s *s = (struct accel_calibration_s *) arg;
|
||||
|
||||
@@ -796,9 +796,6 @@ GYROSIM::devIOCTL(unsigned long cmd, unsigned long arg)
|
||||
_set_sample_rate(arg);
|
||||
return OK;
|
||||
|
||||
case ACCELIOCSLOWPASS:
|
||||
return OK;
|
||||
|
||||
case ACCELIOCSSCALE: {
|
||||
/* copy scale, but only if off by a few percent */
|
||||
struct accel_calibration_s *s = (struct accel_calibration_s *) arg;
|
||||
|
||||
Reference in New Issue
Block a user