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
-7
View File
@@ -212,13 +212,6 @@ Airspeed::ioctl(device::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);