Skip to content

Commit a6d2656

Browse files
authored
Merge pull request #40 from prcutler/root-group-fix
Update to use display.root_group for CP 9 compatibility
2 parents 2d70494 + fc6bf97 commit a6d2656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_pyoa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __init__(self) -> None:
9292
except AttributeError:
9393
pass
9494
self.backlight_fade(0)
95-
self._display.show(self.root_group)
95+
self._display.root_group = self.root_group
9696
self.touchscreen = None
9797
self.mouse_cursor = None
9898
if hasattr(board, "TOUCH_XL"):

0 commit comments

Comments
 (0)