Skip to content

Commit

Permalink
fix(draw): typo with LV_COLOR_DEPTH 8
Browse files Browse the repository at this point in the history
  • Loading branch information
kisvegabor committed May 3, 2023
1 parent 2b56e04 commit 45b13c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/draw/sw/lv_draw_sw_blend.c
Expand Up @@ -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;
Expand Down

0 comments on commit 45b13c3

Please sign in to comment.