Skip to content

Commit 82a0af5

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 9571bab + 0ed8448 commit 82a0af5

File tree

1 file changed

+3
-0
lines changed
  • ports/espressif/boards/hardkernel_odroid_go

1 file changed

+3
-0
lines changed

ports/espressif/boards/hardkernel_odroid_go/pins.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
#include "py/objtuple.h"
12
#include "shared-bindings/board/__init__.h"
3+
#include "shared-module/displayio/__init__.h"
24

35
// Pin names from: https://wiki.odroid.com/odroid_go/odroid_go
46

@@ -53,5 +55,6 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
5355
{ MP_ROM_QSTR(MP_QSTR_EXT4), MP_ROM_PTR(&pin_GPIO15) },
5456

5557
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
58+
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display)},
5659
};
5760
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);

0 commit comments

Comments
 (0)