make show(None) show the terminal

This commit is contained in:
foamyguy 2022-11-28 17:02:46 -06:00
parent 553d48f887
commit 1bbdc820c0
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}