Skip to content

Commit 6665404

Browse files
committed
Update root_group for CP9 compatibility
1 parent e74965e commit 6665404

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)