From df2f10e19a1bf764b85a8a5f06103ee78b8461f2 Mon Sep 17 00:00:00 2001 From: eve-cxrp <80681009+eve-cxrp@users.noreply.github.com> Date: Tue, 28 Sep 2021 16:36:58 +0200 Subject: [PATCH] fix typo in GetCurrentMonotonicTimeMs (#10012) 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(); } }; /**