diff options
Diffstat (limited to 'ecp/src/platform/fe310/time.c')
-rw-r--r-- | ecp/src/platform/fe310/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ecp/src/platform/fe310/time.c b/ecp/src/platform/fe310/time.c index 4bf530c..5f92d7f 100644 --- a/ecp/src/platform/fe310/time.c +++ b/ecp/src/platform/fe310/time.c @@ -24,15 +24,15 @@ int ecp_tm_init(ECPContext *ctx) { } ecp_sts_t ecp_tm_get_s(void) { - return eos_time_get_tick() / EOS_TIMER_RTC_FREQ; + return eos_get_tick() / EOS_TIMER_RTC_FREQ; } ecp_sts_t ecp_tm_get_ms(void) { - return eos_time_get_tick() * 1000 / EOS_TIMER_RTC_FREQ; + return eos_get_tick() * 1000 / EOS_TIMER_RTC_FREQ; } void ecp_tm_sleep(ecp_sts_t msec) { - eos_time_sleep(msec); + eos_sleep(msec); } void ecp_tm_timer_set(ecp_sts_t next) { |