[riot-notifications] [RIOT-OS/RIOT] ztimer: fix required_pm_mode initialization (#15911)
notifications at github.com
Wed Apr 14 13:47:22 CEST 2021
> I also changed 'convert' clocks init so they set their internal `required_pm_mode` to `ZTIMER_CLOCK_NO_REQUIRED_PM_MODE` instead of nothing (which makes it 0, thus blocking a power mode by error).
This makes a lot of sense to me. I didn't check to confirm that this does actually cause issues. But IMO purely virtual clocks should use `ZTIMER_CLOCK_NO_REQUIRED_PM_MODE` just because this is the most sensible value there - so even if there is currently no code relying on their value being sensible.
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