Skip to content

Commit 7c11a5a

Browse files
authored
Merge pull request adafruit#2553 from ladyada/master
add missing displayref
2 parents c2fd303 + f2dfcee commit 7c11a5a

File tree

1 file changed

+5
-0
lines changed
  • ports/nrf/boards/clue_nrf52840_express

1 file changed

+5
-0
lines changed

ports/nrf/boards/clue_nrf52840_express/pins.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#include "shared-bindings/board/__init__.h"
22

3+
#include "boards/board.h"
4+
#include "shared-module/displayio/__init__.h"
5+
36
STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
47
{ MP_ROM_QSTR(MP_QSTR_P0), MP_ROM_PTR(&pin_P0_04) },
58
{ MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_PTR(&pin_P0_04) },
@@ -96,6 +99,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
9699
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
97100
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
98101
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
102+
103+
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display)}
99104
};
100105

101106
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy