Skip to content

Commit 7ddf501

Browse files
author
Margaret Matocha
committed
Updated _triple to define DISPLAY_WIDTH for pyPortal else statement
1 parent 38cd21b commit 7ddf501

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/display_shapes_sparkline_triple.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
else:
8585
# built-in display
8686
display = board.DISPLAY
87+
DISPLAY_WIDTH = board.DISPLAY.width
8788

8889
##########################################
8990
# Create background bitmaps and sparklines

0 commit comments

Comments
 (0)