[riot-notifications] [RIOT-OS/RIOT] ztimer: add ztimer_is_set() to user API (#15780)
notifications at github.com
Fri Jan 15 22:14:17 CET 2021
> This PR simply exposes `ztimer`s internal `_is_set()` function by wrapping it into a critical section inside a newly added `ztimer_is_set()` user API function. Should be pretty straight forward.
I didn't expose it because it feels a bit dangerous to say "false" if the wrong clock is parsed. On the other hand, I didn't want to add an extra "clock" field to ztimer_t just to be able to remove the clock parameter from is_set()...
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...
More information about the notifications