diff --git a/examples/porting/lv_port_disp_template.c b/examples/porting/lv_port_disp_template.c index dea7bf12f..24e20bffb 100644 --- a/examples/porting/lv_port_disp_template.c +++ b/examples/porting/lv_port_disp_template.c @@ -34,7 +34,7 @@ **********************/ static void disp_init(void); -static void disp_flush(lv_display_t * disp, const lv_area_t * area, lv_color_t * px_map); +static void disp_flush(lv_display_t * disp, const lv_area_t * area, uint8_t * px_map); /********************** * STATIC VARIABLES @@ -112,7 +112,7 @@ void disp_disable_update(void) *`px_map` contains the rendered image as raw pixel map and it should be copied to `area` on the display. *You can use DMA or any hardware acceleration to do this operation in the background but *'lv_display_flush_ready()' has to be called when it's finished.*/ -static void disp_flush(lv_display_t * disp_drv, const lv_area_t * area, lv_color_t * px_map) +static void disp_flush(lv_display_t * disp_drv, const lv_area_t * area, uint8_t * px_map) { if(disp_flush_enabled) { /*The most simple case (but also the slowest) to put all pixels to the screen one-by-one*/