Skip to content

Commit e5a5a34

Browse files
committed
Fixed wrong GPIO number for touch screen interrupt
1 parent d765efd commit e5a5a34

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

ports/espressif/boards/m5stack_core2/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
8383
{ MP_ROM_QSTR(MP_QSTR_SD_CS),MP_ROM_PTR(&pin_GPIO4) },
8484

8585
// touch screen
86-
{ MP_ROM_QSTR(MP_QSTR_TOUCH_SCR_IRQ),MP_ROM_PTR(&pin_GPIO4) },
86+
{ MP_ROM_QSTR(MP_QSTR_TOUCH_INT),MP_ROM_PTR(&pin_GPIO39) },
8787

8888
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
8989
{ MP_ROM_QSTR(MP_QSTR_PORTA_I2C), MP_ROM_PTR(&board_porta_i2c_obj) },

0 commit comments

Comments
 (0)