1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

fix: compile error (#4675)

This commit is contained in:
Benign X 2023-10-19 19:36:24 +08:00 committed by GitHub
parent 4081130dd9
commit aa0e82ca43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ void lv_draw_sw_layer(lv_draw_unit_t * draw_unit, const lv_draw_image_dsc_t * dr
#if LV_USE_LAYER_DEBUG #if LV_USE_LAYER_DEBUG
lv_draw_fill_dsc_t fill_dsc; lv_draw_fill_dsc_t fill_dsc;
lv_draw_fill_dsc_init(&fill_dsc); lv_draw_fill_dsc_init(&fill_dsc);
fill_dsc.color = lv_color_hex(layer_to_draw->draw_color_format == LV_COLOR_FORMAT_ARGB8888 ? 0xff0000 : 0x00ff00); fill_dsc.color = lv_color_hex(layer_to_draw->color_format == LV_COLOR_FORMAT_ARGB8888 ? 0xff0000 : 0x00ff00);
fill_dsc.opa = LV_OPA_20; fill_dsc.opa = LV_OPA_20;
lv_draw_sw_fill(draw_unit, &fill_dsc, &area_rot); lv_draw_sw_fill(draw_unit, &fill_dsc, &area_rot);