mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 11:03: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
@@ -139,11 +139,6 @@ test(bool external_bus)
|
||||
err(1, "%s open failed", path_gyro);
|
||||
}
|
||||
|
||||
/* reset to manual polling */
|
||||
if (ioctl(fd, SENSORIOCSPOLLRATE, SENSOR_POLLRATE_MANUAL) < 0) {
|
||||
err(1, "reset to manual polling");
|
||||
}
|
||||
|
||||
/* do a simple demand read */
|
||||
sz = read(fd, &a_report, sizeof(a_report));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user