mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 16:53:34 +08:00
delete unused IOCTL AIRSPEEDIOCGSCALE
This commit is contained in:
committed by
Lorenz Meier
parent
acc24da0c2
commit
85c2b6307c
@@ -257,13 +257,6 @@ AirspeedSim::ioctl(cdev::file_t *filp, int cmd, unsigned long arg)
|
||||
return OK;
|
||||
}
|
||||
|
||||
case AIRSPEEDIOCGSCALE: {
|
||||
struct airspeed_scale *s = (struct airspeed_scale *)arg;
|
||||
s->offset_pa = _diff_pres_offset;
|
||||
s->scale = 1.0f;
|
||||
return OK;
|
||||
}
|
||||
|
||||
default:
|
||||
/* give it to the superclass */
|
||||
//return I2C::ioctl(filp, cmd, arg); XXX SIM should be super class
|
||||
|
||||
Reference in New Issue
Block a user