@@ -144,19 +144,21 @@ void common_hal_displayio_display_construct(displayio_display_obj_t *self,
144
144
// }
145
145
// mp_printf(&mp_plat_print, *circuitpython_splash);
146
146
// mp_printf(&mp_plat_print, "\n");
147
- common_hal_displayio_display_show (self , & circuitpython_splash );
147
+ // common_hal_displayio_display_show(self, &circuitpython_splash);
148
148
common_hal_displayio_display_set_auto_refresh (self , auto_refresh );
149
149
}
150
150
151
151
void is_null (displayio_group_t * root_group ){
152
152
if (root_group == NULL ){
153
- mp_printf (& mp_plat_print , "root_group is null\n" );
153
+ mp_printf (& mp_plat_print , "root_group is NULL\n" );
154
+ }else {
155
+ mp_printf (& mp_plat_print , "root_group not NULL" );
154
156
}
155
157
}
156
158
157
159
bool common_hal_displayio_display_show (displayio_display_obj_t * self , displayio_group_t * root_group ) {
158
160
if (root_group == NULL ){
159
- mp_printf (& mp_plat_print , "Its NULL fer flucks snakes \n" );
161
+ mp_printf (& mp_plat_print , "Its NULL inside display.show() \n" );
160
162
}
161
163
return displayio_display_core_set_root_group (& self -> core , root_group );
162
164
}
@@ -446,7 +448,7 @@ void release_display(displayio_display_obj_t *self) {
446
448
447
449
void reset_display (displayio_display_obj_t * self ) {
448
450
common_hal_displayio_display_set_auto_refresh (self , true);
449
- common_hal_displayio_display_show (self , NULL );
451
+ common_hal_displayio_display_show (self , & circuitpython_splash );
450
452
}
451
453
452
454
void displayio_display_collect_ptrs (displayio_display_obj_t * self ) {
0 commit comments