[riot-notifications] [RIOT-OS/RIOT] spi_transfer_reg behavior doesn't follow doc (#11763)

Dylan Laduranty notifications at github.com
Sat Jul 20 15:42:55 CEST 2019

I agree with you but this is not the problem raised by this issue.
My issue is the inconsistency between RIOT's documentation and function behaviour, as the documentation states that a NULL can be pass to function to ignore data read but this argument has uint8_t type. You cannot put a NULL to a uint8_t argument without raising a compilation issue so either the doc or the function behavior is wrong here.

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/20190720/0276da39/attachment.htm>

More information about the notifications mailing list