We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21c8ac9 commit af93817Copy full SHA for af93817
shared-module/displayio/__init__.c
@@ -229,11 +229,11 @@ void reset_displays(void) {
229
230
if (((uint32_t)is31fb->is31fl3741->i2c) < ((uint32_t)&displays) ||
231
((uint32_t)is31fb->is31fl3741->i2c) > ((uint32_t)&displays + CIRCUITPY_DISPLAY_LIMIT)) {
232
- #if BOARD_I2C
+ #if CIRCUITPY_BOARD_I2C
233
// We don't need to move original_i2c if it is the board.I2C object because it is
234
// statically allocated already. (Doing so would also make it impossible to reference in
235
// a subsequent VM run.)
236
- if (is31fb->is31fl3741->i2c == common_hal_board_get_i2c()) {
+ if (common_hal_board_is_i2c(is31fb->is31fl3741->i2c)) {
237
continue;
238
}
239
#endif
0 commit comments