mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
mpu9250 mag delete MAGIOCSHWLOWPASS and MAGIOCGHWLOWPASS
This commit is contained in:
parent
bb9c38a480
commit
31c08c7ffb
@ -384,18 +384,6 @@ MPU9250_mag::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
case MAGIOCGRANGE:
|
||||
return 48; // fixed full scale measurement range of +/- 4800 uT == 48 Gauss
|
||||
|
||||
#ifdef MAGIOCSHWLOWPASS
|
||||
|
||||
case MAGIOCSHWLOWPASS:
|
||||
return -EINVAL;
|
||||
#endif
|
||||
|
||||
#ifdef MAGIOCGHWLOWPASS
|
||||
|
||||
case MAGIOCGHWLOWPASS:
|
||||
return -EINVAL;
|
||||
#endif
|
||||
|
||||
default:
|
||||
return (int)CDev::ioctl(filp, cmd, arg);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user