Skip to content

Commit 278d4ce

Browse files
authored
Merge pull request #19 from prcutler/root-group-fix
Update root_group for CP9 compatibility
2 parents e74965e + 6665404 commit 278d4ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/hx8357_pitft_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# Make the display context
2727
splash = displayio.Group()
28-
display.show(splash)
28+
display.root_group = splash
2929

3030
color_bitmap = displayio.Bitmap(display.width, display.height, 1)
3131
color_palette = displayio.Palette(1)

examples/hx8357_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# Make the display context
2727
splash = displayio.Group()
28-
display.show(splash)
28+
display.root_group = splash
2929

3030
color_bitmap = displayio.Bitmap(480, 320, 1)
3131
color_palette = displayio.Palette(1)

0 commit comments

Comments
 (0)