aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/mpu6000
diff options
context:
space:
mode:
Diffstat (limited to 'apps/drivers/mpu6000')
-rw-r--r--apps/drivers/mpu6000/mpu6000.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/drivers/mpu6000/mpu6000.cpp b/apps/drivers/mpu6000/mpu6000.cpp
index 57713f40b..31e2b8888 100644
--- a/apps/drivers/mpu6000/mpu6000.cpp
+++ b/apps/drivers/mpu6000/mpu6000.cpp
@@ -889,17 +889,14 @@ start()
if (OK != g_dev->init())
goto fail;
-#if 0 /* XXX don't do this for now - the auto-poller is børked */
-
/* set the poll rate to default, starts automatic data collection */
fd = open(ACCEL_DEVICE_PATH, O_RDONLY);
if (fd < 0)
goto fail;
if (ioctl(fd, SENSORIOCSPOLLRATE, SENSOR_POLLRATE_DEFAULT) < 0)
goto fail;
-#endif
- exit(0);
+ exit(0);
fail:
if (g_dev != nullptr) {
delete g_dev;