[riot-notifications] [RIOT-OS/RIOT] CPU SAML21: fix timers frequency when using slow clocks (#16446)

benpicco notifications at github.com
Wed May 5 23:25:29 CEST 2021


@benpicco commented on this pull request.



> +#define GCLK_GENCTRL_SRC_MAIN GCLK_GENCTRL_SRC_DFLL48M
 #else
-    _gclk_setup(SAM0_GCLK_MAIN, GCLK_GENCTRL_GENEN | GCLK_GENCTRL_SRC_OSC16M);
+#define GCLK_GENCTRL_SRC_MAIN GCLK_GENCTRL_SRC_OSC16M

Please move that to the top of the file where all the other defines live.

-- 
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/16446#pullrequestreview-652766181
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210505/1f0a0b26/attachment.htm>


More information about the notifications mailing list