summaryrefslogtreecommitdiffstats
path: root/invensense/libinvensense_hal/MPLSensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'invensense/libinvensense_hal/MPLSensor.cpp')
-rw-r--r--invensense/libinvensense_hal/MPLSensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/invensense/libinvensense_hal/MPLSensor.cpp b/invensense/libinvensense_hal/MPLSensor.cpp
index aa6c76a..835d46b 100644
--- a/invensense/libinvensense_hal/MPLSensor.cpp
+++ b/invensense/libinvensense_hal/MPLSensor.cpp
@@ -920,7 +920,7 @@ int64_t MPLSensor::now_ns(void)
//FUNC_LOG;
struct timespec ts;
- clock_gettime(CLOCK_MONOTONIC, &ts);
+ clock_gettime(CLOCK_BOOTTIME, &ts);
return (int64_t) ts.tv_sec * 1000000000 + ts.tv_nsec;
}