delete IOCTL SENSOR_POLLRATE_MANUAL

- only used in self tests
This commit is contained in:
Daniel Agar
2018-11-06 07:43:43 +08:00
committed by Lorenz Meier
parent 8dfd55fc9e
commit 556a9422b5
42 changed files with 3 additions and 299 deletions
-5
View File
@@ -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));