diff options
Diffstat (limited to 'firmware/os/core/nanohub_chre.c')
-rw-r--r-- | firmware/os/core/nanohub_chre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/os/core/nanohub_chre.c b/firmware/os/core/nanohub_chre.c index 6dd32d64..b8e68251 100644 --- a/firmware/os/core/nanohub_chre.c +++ b/firmware/os/core/nanohub_chre.c @@ -102,7 +102,7 @@ static void osChreApiGetTime(uintptr_t *retValP, va_list args) { uint64_t *timeNanos = va_arg(args, uint64_t *); if (timeNanos) - *timeNanos = timGetTime(); + *timeNanos = sensorGetTime(); } static inline uint32_t osChreTimerSet(uint64_t duration, const void* cookie, bool oneShot) |