[riot-notifications] [RIOT-OS/RIOT] cpu/fe310: periph/timer: reset counter in timer_init() (#11046)

Kaspar Schleiser notifications at github.com
Thu Feb 21 11:37:43 CET 2019

### Contribution description

fe310 (hifive1) did not reset the periph timer on timer_init().
This breaks e.g., isr_yield_higher.

### Testing procedure

Run tests/isr_yield_higher with and without this fix.

### Issues/PRs references

Found with #11041.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * cpu/fe310: periph/timer: reset counter in timer_init()

-- File Changes --

    M cpu/fe310/periph/timer.c (6)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190221/474bd8a2/attachment.html>

More information about the notifications mailing list