mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 23:10:35 +08:00
delete unused IOCTL MAGIOCSSAMPLERATE
This commit is contained in:
committed by
Lorenz Meier
parent
04972d196a
commit
60a40ec131
@@ -659,10 +659,6 @@ ACCELSIM::mag_ioctl(unsigned long cmd, unsigned long arg)
|
||||
// Nothing to do for simulator
|
||||
return OK;
|
||||
|
||||
case MAGIOCSSAMPLERATE:
|
||||
// No need to set internal sampling rate for simulator
|
||||
return OK;
|
||||
|
||||
case MAGIOCGSAMPLERATE:
|
||||
return _mag_samplerate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user