mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(porting):fixed the use of incorrect definition for 'px_map' (#4861)
Co-authored-by: lhdjply <1029652979@qq.com>
This commit is contained in:
parent
b587fd78c4
commit
3d3c0cbf86
@ -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*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user