make show(None) show the terminal
This commit is contained in:
parent
553d48f887
commit
1bbdc820c0
@ -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) {
|
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);
|
return displayio_display_core_set_root_group(&self->core, root_group);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user