Skip to content

Commit af93817

Browse files
committed
Fixing bad merge
1 parent 21c8ac9 commit af93817

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-module/displayio/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,11 @@ void reset_displays(void) {
229229

230230
if (((uint32_t)is31fb->is31fl3741->i2c) < ((uint32_t)&displays) ||
231231
((uint32_t)is31fb->is31fl3741->i2c) > ((uint32_t)&displays + CIRCUITPY_DISPLAY_LIMIT)) {
232-
#if BOARD_I2C
232+
#if CIRCUITPY_BOARD_I2C
233233
// We don't need to move original_i2c if it is the board.I2C object because it is
234234
// statically allocated already. (Doing so would also make it impossible to reference in
235235
// a subsequent VM run.)
236-
if (is31fb->is31fl3741->i2c == common_hal_board_get_i2c()) {
236+
if (common_hal_board_is_i2c(is31fb->is31fl3741->i2c)) {
237237
continue;
238238
}
239239
#endif

0 commit comments

Comments
 (0)