added debug prints
This commit is contained in:
parent
4712a9d301
commit
ec21dc6975
@ -555,6 +555,11 @@ bool displayio_tilegrid_fill_area(displayio_tilegrid_t *self,
|
||||
}
|
||||
|
||||
void displayio_tilegrid_finish_refresh(displayio_tilegrid_t *self) {
|
||||
|
||||
mp_printf(&mp_plat_print, "(cx1: %d, cy1: %d )\n", self->current_area.x1, self->current_area.y1);
|
||||
//mp_printf(&mp_plat_print, "x1: %d \n", self->previous_area.x1);
|
||||
//mp_printf(&mp_plat_print, "(x1: %d, y1: %d),(x2: %d, y2: %d)\n", self->previous_area.x1, self->previous_area.y1, self->previous_area.x2, self->previous_area.y2);
|
||||
//mp_printf(&mp_plat_print, "Hello ", 1);
|
||||
bool first_draw = self->previous_area.x1 == self->previous_area.x2;
|
||||
bool hidden = self->hidden || self->hidden_by_parent;
|
||||
if (!first_draw && hidden) {
|
||||
|
@ -293,8 +293,9 @@ void reset_displays(void) {
|
||||
if (display_type == &displayio_display_type) {
|
||||
reset_display(&displays[i].display);
|
||||
} else if (display_type == &displayio_epaperdisplay_type) {
|
||||
displayio_epaperdisplay_obj_t *display = &displays[i].epaper_display;
|
||||
common_hal_displayio_epaperdisplay_show(display, NULL);
|
||||
//displayio_epaperdisplay_obj_t *display = &displays[i].epaper_display;
|
||||
//common_hal_displayio_epaperdisplay_show(display, NULL);
|
||||
mp_printf(&mp_plat_print, "Skipping EPaperDisplay show terminal\n");
|
||||
#if CIRCUITPY_FRAMEBUFFERIO
|
||||
} else if (display_type == &framebufferio_framebufferdisplay_type) {
|
||||
framebufferio_framebufferdisplay_reset(&displays[i].framebuffer_display);
|
||||
|
Loading…
x
Reference in New Issue
Block a user