Skip to content

Commit 4c68226

Browse files
committed
lcd_ev: fix compile error
1 parent 2a78d16 commit 4c68226

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • ports/espressif/boards/espressif_esp32s3_lcd_ev

ports/espressif/boards/espressif_esp32s3_lcd_ev/pins.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "py/objtuple.h"
22
#include "shared-bindings/board/__init__.h"
3+
#include "shared-module/displayio/__init__.h"
34

45
STATIC const mp_rom_obj_tuple_t tft_r_pins = {
56
{&mp_type_tuple},
@@ -65,7 +66,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
6566
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(DEFAULT_I2C_BUS_SCL) },
6667
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(DEFAULT_I2C_BUS_SDA) },
6768

68-
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display)}
69+
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display) },
6970

7071
// boot mode button can be used in SW as well
7172
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO0) },

0 commit comments

Comments
 (0)