Skip to content

Commit 232e096

Browse files
committed
fix board.BUTTON on espressif_esp32c3_devkitm_1_n4
1 parent 7e6825d commit 232e096

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

ports/espressif/boards/espressif_esp32c3_devkitm_1_n4/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
5353
{ MP_ROM_QSTR(MP_QSTR_MTCK), MP_ROM_PTR(&pin_GPIO6) },
5454
{ MP_ROM_QSTR(MP_QSTR_MTDO), MP_ROM_PTR(&pin_GPIO7) },
5555

56-
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO2) },
56+
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO9) },
5757
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO8) },
5858

5959
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },

0 commit comments

Comments
 (0)