mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-29 06:36:05 +08:00
fix(lv_canvas.c): fix use of uninitialized variable (#7556)
This commit is contained in:
@@ -129,6 +129,7 @@ void lv_canvas_set_px(lv_obj_t * obj, int32_t x, int32_t y, lv_color_t color, lv
|
|||||||
break;
|
break;
|
||||||
case LV_COLOR_FORMAT_I8:
|
case LV_COLOR_FORMAT_I8:
|
||||||
/*Indexed8 format is a easy case, process and return.*/
|
/*Indexed8 format is a easy case, process and return.*/
|
||||||
|
shift = 0;
|
||||||
*data = c_int;
|
*data = c_int;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user