1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 17:32:44 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Jue
96b7988511 ztimer/periodic: acquire resp. release used ztimer clock 2022-11-22 00:25:34 +01:00
Benjamin Valentin
64bd80d389 ztimer_periodic: make callback function return bool
The callback function of `ztimer_periodic` is only expected to have
two states.
So let it return `true` if the timer should keep repeating, `false`
otherwise.
2021-12-08 00:10:55 +01:00
Francisco Molina
b65ab31971 sys/ztimer/periodic: always set timer->last, no ztimer_now on last call 2021-12-07 19:42:45 +01:00
Bas Stottelaar
ffb929d811 sys/*: remove unused assert.h include 2020-10-22 11:29:27 +02:00
548c4f02fc sys/ztimer: add ztimer_periodic 2020-09-29 23:04:39 +02:00