summaryrefslogtreecommitdiffstats
path: root/libsensors/AccelSensor.cpp
diff options
context:
space:
mode:
authorDerTeufel <dominik-kassel@gmx.de>2014-12-29 18:52:07 +0100
committertilaksidduram <tilaksidduram@gmail.com>2015-01-05 23:55:55 +0530
commitf4e064db516feb2111a94ccf23d763e12aeef527 (patch)
tree468a5dcd81a0fda06da8bb588bad60d1c3108ed6 /libsensors/AccelSensor.cpp
parent7fab701f70788f95eebe53eb3728e4fbc0dda255 (diff)
downloaddevice_samsung_n7100-f4e064db516feb2111a94ccf23d763e12aeef527.zip
device_samsung_n7100-f4e064db516feb2111a94ccf23d763e12aeef527.tar.gz
device_samsung_n7100-f4e064db516feb2111a94ccf23d763e12aeef527.tar.bz2
libsensors: update paths to match new kernel base
Change-Id: I89bcc9c86d1974348f67ec4b5974f52c05de711d
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 2d02bc7..290b023 100644
--- a/libsensors/AccelSensor.cpp
+++ b/libsensors/AccelSensor.cpp
@@ -94,7 +94,7 @@ int AccelSensor::setDelay(int32_t handle, int64_t ns)
ns = 10000000; // Minimum on stock
}
- strcpy(&input_sysfs_path[input_sysfs_path_len], "acc_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];