mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 05:43:34 +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
@@ -426,13 +426,6 @@ PMW3901::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
||||
return OK;
|
||||
}
|
||||
|
||||
case SENSOR_POLLRATE_MANUAL: {
|
||||
|
||||
stop();
|
||||
_measure_ticks = 0;
|
||||
return OK;
|
||||
}
|
||||
|
||||
/* adjust to a legal polling interval in Hz */
|
||||
default: {
|
||||
/* do we need to start internal polling? */
|
||||
|
||||
Reference in New Issue
Block a user