Skip to content

Commit ca7fb6d

Browse files
committed
removal of sda-scl and add "GP" to 40,41
1 parent e189103 commit ca7fb6d

File tree

1 file changed

+2
-5
lines changed
  • ports/espressif/boards/waveshare_esp32s2_pico

1 file changed

+2
-5
lines changed

ports/espressif/boards/waveshare_esp32s2_pico/pins.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
3434
{ MP_ROM_QSTR(MP_QSTR_GP38), MP_ROM_PTR(&pin_GPIO38) },
3535

3636
{ MP_ROM_QSTR(MP_QSTR_GP39), MP_ROM_PTR(&pin_GPIO39) },
37-
38-
{ MP_ROM_QSTR(MP_QSTR_40), MP_ROM_PTR(&pin_GPIO40) },
39-
{ MP_ROM_QSTR(MP_QSTR_41), MP_ROM_PTR(&pin_GPIO41) },
40-
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO40) },
41-
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO41) },
37+
{ MP_ROM_QSTR(MP_QSTR_GP40), MP_ROM_PTR(&pin_GPIO40) },
38+
{ MP_ROM_QSTR(MP_QSTR_GP41), MP_ROM_PTR(&pin_GPIO41) },
4239

4340
{ MP_ROM_QSTR(MP_QSTR_GP42), MP_ROM_PTR(&pin_GPIO42) },
4441
{ MP_ROM_QSTR(MP_QSTR_GP43), MP_ROM_PTR(&pin_GPIO43) },

0 commit comments

Comments
 (0)