From 6665404dd182b391c70f629dd563499bb0fd7fa3 Mon Sep 17 00:00:00 2001 From: Paul Cutler Date: Fri, 3 Nov 2023 06:10:25 -0500 Subject: [PATCH] Update root_group for CP9 compatibility --- examples/hx8357_pitft_simpletest.py | 2 +- examples/hx8357_simpletest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/hx8357_pitft_simpletest.py b/examples/hx8357_pitft_simpletest.py index b9ba143..5266542 100644 --- a/examples/hx8357_pitft_simpletest.py +++ b/examples/hx8357_pitft_simpletest.py @@ -25,7 +25,7 @@ # Make the display context splash = displayio.Group() -display.show(splash) +display.root_group = splash color_bitmap = displayio.Bitmap(display.width, display.height, 1) color_palette = displayio.Palette(1) diff --git a/examples/hx8357_simpletest.py b/examples/hx8357_simpletest.py index 18ebe5d..3f24333 100644 --- a/examples/hx8357_simpletest.py +++ b/examples/hx8357_simpletest.py @@ -25,7 +25,7 @@ # Make the display context splash = displayio.Group() -display.show(splash) +display.root_group = splash color_bitmap = displayio.Bitmap(480, 320, 1) color_palette = displayio.Palette(1)