8000 Added display QSTR to Wio Terminal · cwalther/circuitpython@e15bceb · GitHub
[go: up one dir, main page]

Skip to content

Commit e15bceb

Browse files
committed
Added display QSTR to Wio Terminal
1 parent c010cc2 commit e15bceb

File tree

1 file changed

+3
-0
lines changed
  • ports/atmel-samd/boards/seeeduino_wio_terminal

1 file changed

+3
-0
lines changed

ports/atmel-samd/boards/seeeduino_wio_terminal/pins.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "shared-bindings/board/__init__.h"
2+
#include "shared-module/displayio/__init__.h"
23

34
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
45

@@ -86,5 +87,7 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
8687
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
8788
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
8889
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
90+
91+
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display) },
8992
};
9093
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);

0 commit comments

Comments
 (0)
0