revert unrelated epd change

This commit is contained in:
foamyguy 2023-06-16 16:43:10 -05:00
parent 18faeb86c7
commit 340506be58
2 changed files with 3 additions and 4 deletions

View File

@ -559,7 +559,7 @@ void displayio_tilegrid_finish_refresh(displayio_tilegrid_t *self) {
//mp_printf(&mp_plat_print, "(cy1: %d)\n", self->current_area.y1); //mp_printf(&mp_plat_print, "(cy1: %d)\n", self->current_area.y1);
//mp_printf(&mp_plat_print, "(px1: %d, py1: %d)\n", self->previous_area.x1, self->previous_area.y1); //mp_printf(&mp_plat_print, "(px1: %d, py1: %d)\n", self->previous_area.x1, self->previous_area.y1);
mp_printf(&mp_plat_print, "(px2: %d, py2: %d)\n", self->previous_area.x2, self->previous_area.y2); //mp_printf(&mp_plat_print, "(px2: %d, py2: %d)\n", self->previous_area.x2, self->previous_area.y2);
//mp_printf(&mp_plat_print, "(cx1: %d, cy1: %d)\n", self->current_area.x1, self->current_area.y1); //mp_printf(&mp_plat_print, "(cx1: %d, cy1: %d)\n", self->current_area.x1, self->current_area.y1);
//mp_printf(&mp_plat_print, "(cx2: %d, cy2: %d)\n", self->current_area.x2, self->current_area.y2); //mp_printf(&mp_plat_print, "(cx2: %d, cy2: %d)\n", self->current_area.x2, self->current_area.y2);

View File

@ -293,9 +293,8 @@ void reset_displays(void) {
if (display_type == &displayio_display_type) { if (display_type == &displayio_display_type) {
reset_display(&displays[i].display); reset_display(&displays[i].display);
} else if (display_type == &displayio_epaperdisplay_type) { } else if (display_type == &displayio_epaperdisplay_type) {
//displayio_epaperdisplay_obj_t *display = &displays[i].epaper_display; displayio_epaperdisplay_obj_t *display = &displays[i].epaper_display;
//common_hal_displayio_epaperdisplay_show(display, NULL); common_hal_displayio_epaperdisplay_show(display, NULL);
mp_printf(&mp_plat_print, "Skipping EPaperDisplay show terminal\n");
#if CIRCUITPY_FRAMEBUFFERIO #if CIRCUITPY_FRAMEBUFFERIO
} else if (display_type == &framebufferio_framebufferdisplay_type) { } else if (display_type == &framebufferio_framebufferdisplay_type) {
framebufferio_framebufferdisplay_reset(&displays[i].framebuffer_display); framebufferio_framebufferdisplay_reset(&displays[i].framebuffer_display);