Skip to content

Commit 340506b

Browse files
committed
revert unrelated epd change
1 parent 18faeb8 commit 340506b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

shared-module/displayio/TileGrid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ void displayio_tilegrid_finish_refresh(displayio_tilegrid_t *self) {
559559
//mp_printf(&mp_plat_print, "(cy1: %d)\n", self->current_area.y1);
560560

561561
//mp_printf(&mp_plat_print, "(px1: %d, py1: %d)\n", self->previous_area.x1, self->previous_area.y1);
562-
mp_printf(&mp_plat_print, "(px2: %d, py2: %d)\n", self->previous_area.x2, self->previous_area.y2);
562+
//mp_printf(&mp_plat_print, "(px2: %d, py2: %d)\n", self->previous_area.x2, self->previous_area.y2);
563563

564564
//mp_printf(&mp_plat_print, "(cx1: %d, cy1: %d)\n", self->current_area.x1, self->current_area.y1);
565565
//mp_printf(&mp_plat_print, "(cx2: %d, cy2: %d)\n", self->current_area.x2, self->current_area.y2);

shared-module/displayio/__init__.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,8 @@ void reset_displays(void) {
293293
if (display_type == &displayio_display_type) {
294294
reset_display(&displays[i].display);
295295
} else if (display_type == &displayio_epaperdisplay_type) {
296-
//displayio_epaperdisplay_obj_t *display = &displays[i].epaper_display;
297-
//common_hal_displayio_epaperdisplay_show(display, NULL);
298-
mp_printf(&mp_plat_print, "Skipping EPaperDisplay show terminal\n");
296+
displayio_epaperdisplay_obj_t *display = &displays[i].epaper_display;
297+
common_hal_displayio_epaperdisplay_show(display, NULL);
299298
#if CIRCUITPY_FRAMEBUFFERIO
300299
} else if (display_type == &framebufferio_framebufferdisplay_type) {
301300
framebufferio_framebufferdisplay_reset(&displays[i].framebuffer_display);

0 commit comments

Comments
 (0)