summaryrefslogtreecommitdiffstats
path: root/libsensors
diff options
context:
space:
mode:
authortim.sk.lee <tim.sk.lee@samsung.com>2010-09-22 17:39:02 -0700
committerBrian Swetland <swetland@google.com>2010-09-24 16:20:22 -0700
commit64ec9bde8f4295dda22e3fb9176ce078063e1369 (patch)
treef813aaa7e7974f099b5c8f733bfba192ac26e263 /libsensors
parent6f8599964d8d48d8833cf02d5bc576d08068dc17 (diff)
downloaddevice_samsung_crespo-64ec9bde8f4295dda22e3fb9176ce078063e1369.tar.gz
device_samsung_crespo-64ec9bde8f4295dda22e3fb9176ce078063e1369.tar.bz2
device_samsung_crespo-64ec9bde8f4295dda22e3fb9176ce078063e1369.zip
S5PC11X: SENSOR: Change delay name of Gyroscope(poll_delay)
Change-Id: I62301df6e4e8cb177cd900230e961db8f9256721 Signed-off-by: tim.sk.lee <tim.sk.lee@samsung.com>
Diffstat (limited to 'libsensors')
-rw-r--r--libsensors/GyroSensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsensors/GyroSensor.cpp b/libsensors/GyroSensor.cpp
index c25475b..a12125c 100644
--- a/libsensors/GyroSensor.cpp
+++ b/libsensors/GyroSensor.cpp
@@ -107,7 +107,7 @@ bool GyroSensor::hasPendingEvents() const {
int GyroSensor::setDelay(int32_t handle, int64_t delay_ns)
{
int fd;
- strcpy(&input_sysfs_path[input_sysfs_path_len], "gyro_delay");
+ strcpy(&input_sysfs_path[input_sysfs_path_len], "poll_delay");
fd = open(input_sysfs_path, O_RDWR);
if (fd >= 0) {
char buf[80];