From 1bbdc820c0784c736c7fe98db7252beea47b396e Mon Sep 17 00:00:00 2001 From: foamyguy Date: Mon, 28 Nov 2022 17:02:46 -0600 Subject: [PATCH] make show(None) show the terminal --- shared-module/displayio/Display.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shared-module/displayio/Display.c b/shared-module/displayio/Display.c index a640d10fd3..1f7891dc17 100644 --- a/shared-module/displayio/Display.c +++ b/shared-module/displayio/Display.c @@ -141,6 +141,9 @@ void common_hal_displayio_display_construct(displayio_display_obj_t *self, } bool common_hal_displayio_display_show(displayio_display_obj_t *self, displayio_group_t *root_group) { + if (root_group == NULL) { + return displayio_display_core_set_root_group(&self->core, &circuitpython_splash); + } return displayio_display_core_set_root_group(&self->core, root_group); }