diff options
author | Brian Swetland <swetland@google.com> | 2010-09-24 16:28:52 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-09-24 16:28:52 -0700 |
commit | b02691ec77f60b9928948823fcb6432bbcde6722 (patch) | |
tree | 0a44f8f40b6b0bc012dde01da5c5e10201f0a22b | |
parent | f42f90cf63be584ce0e46de5e51dfab9347d22e9 (diff) | |
parent | 6ac59bec792215222260211a7f19f21dc614484c (diff) | |
download | device_samsung_crespo-b02691ec77f60b9928948823fcb6432bbcde6722.zip device_samsung_crespo-b02691ec77f60b9928948823fcb6432bbcde6722.tar.gz device_samsung_crespo-b02691ec77f60b9928948823fcb6432bbcde6722.tar.bz2 |
Merge "S5PC11X: SENSORS: Fix delays in AkmSensor" into gingerbread
-rw-r--r-- | libsensors/AkmSensor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsensors/AkmSensor.cpp b/libsensors/AkmSensor.cpp index 0968c26..8ae3583 100644 --- a/libsensors/AkmSensor.cpp +++ b/libsensors/AkmSensor.cpp @@ -194,7 +194,7 @@ int AkmSensor::update_delay() wanted = wanted < ns ? wanted : ns; } } - int64_t delay = int64_t(wanted) / 1000000; + int64_t delay = int64_t(wanted); if (ioctl(dev_fd, ECS_IOCTL_APP_SET_DELAY, &delay)) { return -errno; } |