[riot-notifications] [RIOT-OS/RIOT] cpu: fix returns of i2c_acquire and i2c_release (#10856)

Gunar Schorcht notifications at github.com
Thu Jan 24 10:16:32 CET 2019

> @MrKevinWeiss @gschorcht @gebart I think this is related to #10673 ;)
I think it is time to take a decision here.

Indeed. As stated in #10673, 95 % of our drivers do not check these return values. An `assert` might be better than nothing.

BTW, I would rather add a further `assert` to check that these functions are not called from interrupt context to avoid problems as described in issue #10488 and in PR #10430 which are tried to be solved by PR #10555. 

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190124/9efc8ba8/attachment-0001.html>

More information about the notifications mailing list