[riot-notifications] [RIOT-OS/RIOT] ztimer: fix required_pm_mode initialization (#15911)

Marian Buschsieweke 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:
https://github.com/RIOT-OS/RIOT/pull/15911#issuecomment-819456130
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210414/2e3fcb24/attachment-0001.htm>


More information about the notifications mailing list