Skip to content

Commit 2a78d16

Browse files
committed
add board.DISPLAY
1 parent 68af554 commit 2a78d16

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • ports/espressif/boards/espressif_esp32s3_lcd_ev

ports/espressif/boards/espressif_esp32s3_lcd_ev/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
6565
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(DEFAULT_I2C_BUS_SCL) },
6666
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(DEFAULT_I2C_BUS_SDA) },
6767

68+
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display)}
69+
6870
// boot mode button can be used in SW as well
6971
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO0) },
7072

0 commit comments

Comments
 (0)