mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-22 15:24:16 +08:00
chore(draw_buf): add header magic to draw buff (#5449)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
This commit is contained in:
@@ -183,6 +183,7 @@ static inline void lv_image_header_init(lv_image_header_t * header, uint32_t w,
|
||||
header->cf = cf;
|
||||
header->stride = stride;
|
||||
header->flags = flags;
|
||||
header->magic = LV_IMAGE_HEADER_MAGIC;
|
||||
}
|
||||
/**********************
|
||||
* MACROS
|
||||
|
||||
Reference in New Issue
Block a user