Skip to content

Commit c2a5ca2

Browse files
authored
INVERT the sense of the I2C_POWER pin (active low)
I don't have the board to test, but this was reported and discussed on Discord.
1 parent c8b7206 commit c2a5ca2

File tree

1 file changed

+1
-1
lines changed
  • ports/espressif/boards/adafruit_feather_esp32s2

1 file changed

+1
-1
lines changed

ports/espressif/boards/adafruit_feather_esp32s2/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
1515
{ MP_ROM_QSTR(MP_QSTR_D6), MP_ROM_PTR(&pin_GPIO6) },
1616

1717
{ MP_ROM_QSTR(MP_QSTR_D7), MP_ROM_PTR(&pin_GPIO7) },
18-
{ MP_ROM_QSTR(MP_QSTR_I2C_POWER), MP_ROM_PTR(&pin_GPIO7) },
18+
{ MP_ROM_QSTR(MP_QSTR_I2C_POWER_INVERTED), MP_ROM_PTR(&pin_GPIO7) },
1919

2020
{ MP_ROM_QSTR(MP_QSTR_D8), MP_ROM_PTR(&pin_GPIO8) },
2121
{ MP_ROM_QSTR(MP_QSTR_A5), MP_ROM_PTR(&pin_GPIO8) },

0 commit comments

Comments
 (0)