mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 00:03:34 +08:00
delete unimplemented SENSORIOCRESET IOCTL
This commit is contained in:
committed by
Lorenz Meier
parent
b0caea9edc
commit
7caf9803ed
@@ -395,10 +395,6 @@ HC_SR04::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case SENSORIOCRESET:
|
|
||||||
/* XXX implement this */
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* give it to the superclass */
|
/* give it to the superclass */
|
||||||
return CDev::ioctl(filp, cmd, arg);
|
return CDev::ioctl(filp, cmd, arg);
|
||||||
|
|||||||
@@ -391,10 +391,6 @@ MB12XX::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case SENSORIOCRESET:
|
|
||||||
/* XXX implement this */
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* give it to the superclass */
|
/* give it to the superclass */
|
||||||
return I2C::ioctl(filp, cmd, arg);
|
return I2C::ioctl(filp, cmd, arg);
|
||||||
|
|||||||
@@ -372,10 +372,6 @@ SF0X::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case SENSORIOCRESET:
|
|
||||||
/* XXX implement this */
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* give it to the superclass */
|
/* give it to the superclass */
|
||||||
return CDev::ioctl(filp, cmd, arg);
|
return CDev::ioctl(filp, cmd, arg);
|
||||||
|
|||||||
@@ -391,10 +391,6 @@ SF1XX::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case SENSORIOCRESET:
|
|
||||||
/* XXX implement this */
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* give it to the superclass */
|
/* give it to the superclass */
|
||||||
return I2C::ioctl(filp, cmd, arg);
|
return I2C::ioctl(filp, cmd, arg);
|
||||||
|
|||||||
@@ -391,10 +391,6 @@ SRF02::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case SENSORIOCRESET:
|
|
||||||
/* XXX implement this */
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* give it to the superclass */
|
/* give it to the superclass */
|
||||||
return I2C::ioctl(filp, cmd, arg);
|
return I2C::ioctl(filp, cmd, arg);
|
||||||
|
|||||||
@@ -469,10 +469,6 @@ TERARANGER::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case SENSORIOCRESET:
|
|
||||||
/* XXX implement this */
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* give it to the superclass */
|
/* give it to the superclass */
|
||||||
return I2C::ioctl(filp, cmd, arg);
|
return I2C::ioctl(filp, cmd, arg);
|
||||||
|
|||||||
@@ -409,10 +409,6 @@ TFMINI::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case SENSORIOCRESET:
|
|
||||||
/* XXX implement this */
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* give it to the superclass */
|
/* give it to the superclass */
|
||||||
return CDev::ioctl(filp, cmd, arg);
|
return CDev::ioctl(filp, cmd, arg);
|
||||||
|
|||||||
@@ -381,10 +381,6 @@ PX4FLOW::ioctl(struct file *filp, int cmd, unsigned long arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case SENSORIOCRESET:
|
|
||||||
/* XXX implement this */
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* give it to the superclass */
|
/* give it to the superclass */
|
||||||
return I2C::ioctl(filp, cmd, arg);
|
return I2C::ioctl(filp, cmd, arg);
|
||||||
|
|||||||
@@ -188,10 +188,6 @@ Airspeed::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SENSORIOCRESET:
|
|
||||||
/* XXX implement this */
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
case AIRSPEEDIOCSSCALE: {
|
case AIRSPEEDIOCSSCALE: {
|
||||||
struct airspeed_scale *s = (struct airspeed_scale *)arg;
|
struct airspeed_scale *s = (struct airspeed_scale *)arg;
|
||||||
_diff_pres_offset = s->offset_pa;
|
_diff_pres_offset = s->offset_pa;
|
||||||
|
|||||||
@@ -216,10 +216,6 @@ AirspeedSim::ioctl(cdev::file_t *filp, int cmd, unsigned long arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case SENSORIOCRESET:
|
|
||||||
/* XXX implement this */
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
case AIRSPEEDIOCSSCALE: {
|
case AIRSPEEDIOCSSCALE: {
|
||||||
struct airspeed_scale *s = (struct airspeed_scale *)arg;
|
struct airspeed_scale *s = (struct airspeed_scale *)arg;
|
||||||
_diff_pres_offset = s->offset_pa;
|
_diff_pres_offset = s->offset_pa;
|
||||||
|
|||||||
Reference in New Issue
Block a user