mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 11:51:36 +08:00
delete unused IOCTL ACCELIOCSRANGE
This commit is contained in:
committed by
Lorenz Meier
parent
b0c3e12139
commit
5d3d120705
@@ -425,9 +425,6 @@ ADIS16477::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
}
|
||||
}
|
||||
|
||||
case ACCELIOCSRANGE:
|
||||
return -EINVAL;
|
||||
|
||||
case ACCELIOCGRANGE:
|
||||
return (unsigned long)((_accel_range_m_s2) / CONSTANTS_ONE_G + 0.5f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user