From b3e9963784c185c35ea883dac0feb0b74b1b389f Mon Sep 17 00:00:00 2001 From: Dimitri Mizenko Date: Tue, 28 Sep 2021 15:32:47 +0200 Subject: [PATCH] fix typo in GetCurrentMonotonicTimeMs function should really return ms not us. --- src/system/TimeSource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/TimeSource.h b/src/system/TimeSource.h index 4a5120332f167b..10ffb867e24211 100644 --- a/src/system/TimeSource.h +++ b/src/system/TimeSource.h @@ -63,7 +63,7 @@ template <> class TimeSource { public: - uint64_t GetCurrentMonotonicTimeMs() { return System::Clock::GetMonotonicMicroseconds(); } + uint64_t GetCurrentMonotonicTimeMs() { return System::Clock::GetMonotonicMilliseconds(); } }; /**