[riot-notifications] [RIOT-OS/RIOT] cpu/stm32: optimize stop mode for stm32f* (#11758)

Kaspar Schleiser notifications at github.com
Tue Jul 2 12:43:09 CEST 2019


IMO readablility can be improved by a) seperating the two switch cases, and b) turning the "DISABLE_JTAG" test into a C-level if statement:

https://gist.github.com/4fd5be0cfdaeede87c3b87b7d732887f

-- 
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/11758#issuecomment-507621795
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190702/e6874fa7/attachment-0001.html>


More information about the notifications mailing list