diff options
Diffstat (limited to '6515/libsensors_iio/SensorBase.cpp')
-rwxr-xr-x | 6515/libsensors_iio/SensorBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/6515/libsensors_iio/SensorBase.cpp b/6515/libsensors_iio/SensorBase.cpp index 544ac15..f1d00fb 100755 --- a/6515/libsensors_iio/SensorBase.cpp +++ b/6515/libsensors_iio/SensorBase.cpp @@ -143,7 +143,7 @@ int64_t SensorBase::getTimestamp() { struct timespec t; t.tv_sec = t.tv_nsec = 0; - clock_gettime(CLOCK_MONOTONIC, &t); + clock_gettime(CLOCK_BOOTTIME, &t); return int64_t(t.tv_sec) * 1000000000LL + t.tv_nsec; } |