mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 07:40:35 +08:00
delete unused IOCTL GYROIOCSSAMPLERATE
This commit is contained in:
committed by
Lorenz Meier
parent
60c14fe8f1
commit
3daf37433e
@@ -741,10 +741,6 @@ GYROSIM::gyro_ioctl(unsigned long cmd, unsigned long arg)
|
||||
return OK;
|
||||
}
|
||||
|
||||
case GYROIOCSSAMPLERATE:
|
||||
_set_sample_rate(arg);
|
||||
return OK;
|
||||
|
||||
case GYROIOCSSCALE:
|
||||
/* copy scale in */
|
||||
memcpy(&_gyro_scale, (struct gyro_calibration_s *) arg, sizeof(_gyro_scale));
|
||||
|
||||
Reference in New Issue
Block a user