diff options
Diffstat (limited to 'libsensors')
-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; } |