mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-15 18:30:34 +08:00
delete unused IOCTLs ACCELIOCSSAMPLERATE and ACCEL_SAMPLERATE_DEFAULT
This commit is contained in:
committed by
Lorenz Meier
parent
eddbd3fc4b
commit
e759e0e1a5
@@ -565,10 +565,6 @@ ACCELSIM::devIOCTL(unsigned long cmd, unsigned long arg)
|
||||
// Nothing to do for simulator
|
||||
return OK;
|
||||
|
||||
case ACCELIOCSSAMPLERATE:
|
||||
// No need to set internal sampling rate for simulator
|
||||
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