mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 03:43:33 +08:00
delete unused IOCTL MAGIOCGSAMPLERATE
This commit is contained in:
committed by
Lorenz Meier
parent
60a40ec131
commit
0ea18b2b73
@@ -807,9 +807,6 @@ BMM150::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
case MAGIOCEXSTRAP:
|
||||
return OK;
|
||||
|
||||
case MAGIOCGSAMPLERATE:
|
||||
return 1000000 / _call_interval;
|
||||
|
||||
default:
|
||||
/* give it to the superclass */
|
||||
return I2C::ioctl(filp, cmd, arg);
|
||||
|
||||
Reference in New Issue
Block a user