mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 07:09:48 +08:00
mpu9250 mag delete MAGIOCSHWLOWPASS and MAGIOCGHWLOWPASS
This commit is contained in:
committed by
Lorenz Meier
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user