From 98b5515f2ada43ca84ab4e8cfbec2c4844eaad6e Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Tue, 15 Oct 2019 18:13:49 +0200 Subject: fixed timer set according to new timer subtypes spec --- code/ecp/fe310/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/ecp/fe310') diff --git a/code/ecp/fe310/time.c b/code/ecp/fe310/time.c index 995b4f2..69cf14d 100644 --- a/code/ecp/fe310/time.c +++ b/code/ecp/fe310/time.c @@ -22,5 +22,5 @@ void ecp_tm_sleep_ms(ecp_cts_t msec) { void ecp_tm_timer_set(ecp_cts_t next) { uint32_t tick = next * (uint64_t)RTC_FREQ / 1000; - eos_timer_set(tick, 1); + eos_timer_set(tick, EOS_TIMER_ETYPE_ECP); } -- cgit v1.2.3