mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-17 23:30:36 +08:00
delete unused IOCTL MAGIOCGSAMPLERATE
This commit is contained in:
committed by
Lorenz Meier
parent
60a40ec131
commit
0ea18b2b73
@@ -659,9 +659,6 @@ ACCELSIM::mag_ioctl(unsigned long cmd, unsigned long arg)
|
||||
// Nothing to do for simulator
|
||||
return OK;
|
||||
|
||||
case MAGIOCGSAMPLERATE:
|
||||
return _mag_samplerate;
|
||||
|
||||
case MAGIOCSSCALE:
|
||||
/* copy scale in */
|
||||
memcpy(&_mag_scale, (struct mag_calibration_s *) arg, sizeof(_mag_scale));
|
||||
|
||||
Reference in New Issue
Block a user