diff --git a/core/host/timer.c b/core/host/timer.c index 124f17c14f..1c1fe01457 100644 --- a/core/host/timer.c +++ b/core/host/timer.c @@ -67,6 +67,11 @@ timestamp_t get_time(void) return ret; } +uint32_t __hw_clock_source_read(void) +{ + return get_time().le.lo; +} + void force_time(timestamp_t ts) { timestamp_t now = _get_time();