File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed 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,
136
136
137
137
// Set the group after initialization otherwise we may send pixels while we delay in
138
138
// 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
+ }
140
142
common_hal_displayio_display_set_auto_refresh (self , auto_refresh );
141
143
}
142
144
@@ -437,7 +439,9 @@ void reset_display(displayio_display_obj_t *self) {
437
439
circuitpython_splash .x = 0 ; // reset position in case someone moved it.
438
440
circuitpython_splash .y = 0 ;
439
441
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
+ }
441
445
}
442
446
443
447
void displayio_display_collect_ptrs (displayio_display_obj_t * self ) {
You can’t perform that action at this time.
0 commit comments