File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,7 +136,9 @@ void common_hal_displayio_display_construct(displayio_display_obj_t *self,
136136
137137 // Set the group after initialization otherwise we may send pixels while we delay in
138138 // initialization.
139- common_hal_displayio_display_set_root_group (self , & circuitpython_splash );
139+ if (!circuitpython_splash .in_group ) {
140+ common_hal_displayio_display_set_root_group (self , & circuitpython_splash );
141+ }
140142 common_hal_displayio_display_set_auto_refresh (self , auto_refresh );
141143}
142144
@@ -437,7 +439,9 @@ void reset_display(displayio_display_obj_t *self) {
437439 circuitpython_splash .x = 0 ; // reset position in case someone moved it.
438440 circuitpython_splash .y = 0 ;
439441 supervisor_start_terminal (self -> core .width , self -> core .height );
440- common_hal_displayio_display_set_root_group (self , & circuitpython_splash );
442+ if (!circuitpython_splash .in_group ) {
443+ common_hal_displayio_display_set_root_group (self , & circuitpython_splash );
444+ }
441445}
442446
443447void displayio_display_collect_ptrs (displayio_display_obj_t * self ) {
You can’t perform that action at this time.
0 commit comments