Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit 66ae2b4

Browse files
authored
added public field for display in clue object (#313)
Added missing field in clue
1 parent 0de629c commit 66ae2b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clue/adafruit_clue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ def __init__(
112112
self._display = board.DISPLAY
113113
self._colors = colors
114114
self._label = label
115-
# self._display = board.DISPLAY
116115
self._font = terminalio.FONT
117116
if font:
118117
self._font = font
@@ -235,6 +234,7 @@ def __init__(self):
235234
CONSTANTS.CLUE_STATE.BUTTON_A: "A",
236235
CONSTANTS.CLUE_STATE.BUTTON_B: "B",
237236
}
237+
self.display = board.DISPLAY
238238

239239
@property
240240
def button_a(self):

0 commit comments

Comments
 (0)