[riot-notifications] [RIOT-OS/RIOT] boards/stm32: introduce and use shared i2c config with I2C1 on PB6/PB7 (#12141)

Alexandre Abadie notifications at github.com
Mon Sep 2 10:27:38 CEST 2019


> Is this really an improvement with the need for those #ifdefs?

Regarding code readability, you are certainly right that ifdef are not the best. But regarding future boards addition that would need the same config, it makes things as simple as adding a single line in the peripheral configuration.

-- 
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/12141#issuecomment-527054032
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190902/97eda7d3/attachment-0001.htm>


More information about the notifications mailing list