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