mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 13:48:54 +08:00
delete IOCTL SENSOR_POLLRATE_MANUAL
- only used in self tests
This commit is contained in:
committed by
Lorenz Meier
parent
8dfd55fc9e
commit
556a9422b5
@@ -344,12 +344,6 @@ SRF02::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
||||
case SENSORIOCSPOLLRATE: {
|
||||
switch (arg) {
|
||||
|
||||
/* switching to manual polling */
|
||||
case SENSOR_POLLRATE_MANUAL:
|
||||
stop();
|
||||
_measure_ticks = 0;
|
||||
return OK;
|
||||
|
||||
/* zero would be bad */
|
||||
case 0:
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user