diff options
| author | Uros Majstorovic <majstor@majstor.org> | 2019-10-15 18:13:49 +0200 | 
|---|---|---|
| committer | Uros Majstorovic <majstor@majstor.org> | 2019-10-15 18:13:49 +0200 | 
| commit | 98b5515f2ada43ca84ab4e8cfbec2c4844eaad6e (patch) | |
| tree | 9414c06861237863020737b017d0991150500491 /code/ecp | |
| parent | edec491d59697a635ddce7a19a870dd3e8d2f3ed (diff) | |
fixed timer set according to new timer subtypes spec
Diffstat (limited to 'code/ecp')
| -rw-r--r-- | code/ecp/fe310/time.c | 2 | 
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);  } | 
