summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--code/ecp/fe310/time.c2
1 files changed, 1 insertions, 1 deletions
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);
}