1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-02-04 07:13:00 +08:00

fix(draw): typo with LV_COLOR_DEPTH 8

This commit is contained in:
Gabor Kiss-Vamosi 2023-05-03 10:34:18 +02:00
parent 2b56e04205
commit 45b13c378f

View File

@ -430,7 +430,7 @@ static inline void set_px_argb_blend(uint8_t * buf, lv_color_t color, lv_opa_t o
/*Set the result color*/
#if LV_COLOR_DEPTH == 8
buf[0] = res_color.full;
buf[0] = last_res_color.full;
#elif LV_COLOR_DEPTH == 16
buf[0] = last_res_color.full & 0xff;
buf[1] = last_res_color.full >> 8;