[riot-notifications] [RIOT] drivers/spi: updated SPI driver interface (#3216)

Hauke Petersen notifications at github.com
Wed Jun 17 22:52:41 CEST 2015

>   */
> -int spi_transfer_byte(spi_t dev, char out, char *in);
> +void spi_transfer_byte(spi_t dev, char out, char *in);

the main concept is actually, that we check for errors during initialization and always expect this function to succeed afterwards... So returning `size_t`, which would always be 1, would be redundant...

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/20150617/55eb31b0/attachment.html>

More information about the notifications mailing list