[riot-notifications] [RIOT-OS/RIOT] Undefined i2c behaviour after release (#10269)

MrKevinWeiss notifications at github.com
Thu Nov 22 08:05:12 CET 2018


After talking to @haukepetersen it seems the conclusion is to not define what happens if calls are made to the i2c bus if not acquired as to not increase code size.  The documentation of this is currently

>  * // before accessing the bus, we need to acquire it

in the example in the drivers/include/periph/i2c.h

I would maybe suggest to add in each call a `@note` or `@requirement` stating that the bus must be acquired.

-- 
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/issues/10269#issuecomment-440932744
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20181121/c75b6976/attachment.html>


More information about the notifications mailing list