Skip to content

Commit

Permalink
fix typo in GetCurrentMonotonicTimeMs (#10012)
Browse files Browse the repository at this point in the history
function should really return ms not us.
  • Loading branch information
eve-cxrp authored and pull[bot] committed Oct 30, 2021
1 parent d5c6eb6 commit df2f10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system/TimeSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ template <>
class TimeSource<Source::kSystem>
{
public:
uint64_t GetCurrentMonotonicTimeMs() { return System::Clock::GetMonotonicMicroseconds(); }
uint64_t GetCurrentMonotonicTimeMs() { return System::Clock::GetMonotonicMilliseconds(); }
};

/**
Expand Down

0 comments on commit df2f10e

Please sign in to comment.