summaryrefslogtreecommitdiffstats
path: root/libsensors/AccelSensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsensors/AccelSensor.cpp')
-rw-r--r--libsensors/AccelSensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsensors/AccelSensor.cpp b/libsensors/AccelSensor.cpp
index fddb2cd..1a5510c 100644
--- a/libsensors/AccelSensor.cpp
+++ b/libsensors/AccelSensor.cpp
@@ -107,7 +107,7 @@ int AccelSensor::setDelay(int32_t handle, int64_t ns)
ns = 10000000; // Minimum on stock
}
- strcpy(&input_sysfs_path[input_sysfs_path_len], "poll_delay");
+ strcpy(&input_sysfs_path[input_sysfs_path_len], "acc_poll_delay");
fd = open(input_sysfs_path, O_RDWR);
if (fd >= 0) {
char buf[80];