[riot-notifications] [RIOT-OS/RIOT] U8g2: Refactoring and minor fixes (#10693)

Bas Stottelaar notifications at github.com
Mon Jan 14 19:50:11 CET 2019

basilfx commented on this pull request.

-    i2c_t dev = (i2c_t) u8g2->dev;
+    i2c_t dev = I2C_DEV(u8x8_riot_ptr->device_index);

If you do it like in that test Makefile, the `TEST_SPI_DEV = SPI_DEV(..)` ends up in `device_index`, so it is correct. Normally, the end-user would do the same, but from C code.

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/20190114/4304e9b1/attachment.html>

More information about the notifications mailing list