[riot-notifications] [RIOT-OS/RIOT] tests/bench_timers: improve test to work on some SAM based boards (#11346)

benpicco notifications at github.com
Fri Apr 5 22:59:08 CEST 2019

> -) before calling timer_init on a timer this is first stopped with timer_stop otherwise for most of SAM based CPUs the init will not have any effect since if the timer has already been inited (and it is at boot) then initialization would be skipped and test would block undefinitely waiting for the callback to be called.

Instead of working around that, why not just remove the check in `timer_init()` and replace it with a `timer_stop()` ?

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/20190405/6cc5dd59/attachment.html>

More information about the notifications mailing list