Enlarge DISP_BUF_SIZE. Remove epdiy_rounder callback since is not used

This commit is contained in:
martinberlin 2021-05-28 22:28:14 +02:00
parent 2d3a1fa7c3
commit f4a760d482
4 changed files with 3 additions and 11 deletions

View file

@ -25,7 +25,7 @@ void epdiy_init(void)
printf("epdiy_init\n");
display.init();
display.setRotation(0);
//display.clearScreen();
display.clearScreen();
}
/* Required by LVGL */
@ -57,9 +57,3 @@ void epdiy_set_px_cb(lv_disp_drv_t * disp_drv, uint8_t* buf,
}
display.drawPixel((int16_t)x, (int16_t)y, epd_color);
}
/* Required by LVGL. Not used in this implementation - deprecated, will be removed */
void epdiy_rounder(lv_disp_drv_t * disp_drv, lv_area_t *area) {
area->x1 = area->x1 & ~(0x7);
area->x2 = area->x2 | (0x7);
}