delete unused IOCTL AIRSPEEDIOCGSCALE

This commit is contained in:
Daniel Agar
2018-11-06 07:43:43 +08:00
committed by Lorenz Meier
parent acc24da0c2
commit 85c2b6307c
3 changed files with 0 additions and 16 deletions
@@ -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