mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 10:53:34 +08:00
delete unused IOCTL SENSOR_POLLRATE_EXTERNAL
This commit is contained in:
committed by
Lorenz Meier
parent
3b92d49b64
commit
f59f0d4b2d
@@ -344,7 +344,6 @@ BMP280::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
_report_ticks = 0;
|
||||
return OK;
|
||||
|
||||
case SENSOR_POLLRATE_EXTERNAL:
|
||||
case 0:
|
||||
return -EINVAL;
|
||||
|
||||
|
||||
@@ -112,9 +112,6 @@ LPS22HB::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
_measure_ticks = 0;
|
||||
return OK;
|
||||
|
||||
/* external signalling (DRDY) not supported */
|
||||
case SENSOR_POLLRATE_EXTERNAL:
|
||||
|
||||
/* zero would be bad */
|
||||
case 0:
|
||||
return -EINVAL;
|
||||
|
||||
@@ -447,9 +447,6 @@ LPS25H::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
_measure_ticks = 0;
|
||||
return OK;
|
||||
|
||||
/* external signalling (DRDY) not supported */
|
||||
case SENSOR_POLLRATE_EXTERNAL:
|
||||
|
||||
/* zero would be bad */
|
||||
case 0:
|
||||
return -EINVAL;
|
||||
|
||||
@@ -398,9 +398,6 @@ MPL3115A2::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
_measure_ticks = 0;
|
||||
return OK;
|
||||
|
||||
/* external signalling not supported */
|
||||
case SENSOR_POLLRATE_EXTERNAL:
|
||||
|
||||
/* zero would be bad */
|
||||
case 0:
|
||||
return -EINVAL;
|
||||
|
||||
@@ -473,9 +473,6 @@ MS5611::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
_measure_ticks = 0;
|
||||
return OK;
|
||||
|
||||
/* external signalling not supported */
|
||||
case SENSOR_POLLRATE_EXTERNAL:
|
||||
|
||||
/* zero would be bad */
|
||||
case 0:
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user