[riot-notifications] [RIOT-OS/RIOT] U8g2: Refactoring and minor fixes (#10693)
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...
More information about the notifications