Skip to content

Commit 1bbdc82

Browse files
committed
make show(None) show the terminal
1 parent 553d48f commit 1bbdc82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

shared-module/displayio/Display.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ void common_hal_displayio_display_construct(displayio_display_obj_t *self,
141141
}
142142

143143
bool common_hal_displayio_display_show(displayio_display_obj_t *self, displayio_group_t *root_group) {
144+
if (root_group == NULL) {
145+
return displayio_display_core_set_root_group(&self->core, &circuitpython_splash);
146+
}
144147
return displayio_display_core_set_root_group(&self->core, root_group);
145148
}
146149

0 commit comments

Comments
 (0)