fix non const initialization

This commit is contained in:
kisvegabor
2018-07-13 21:54:11 +02:00
parent 8746d3de45
commit 6e7cc4414a

View File

@@ -473,7 +473,7 @@ void lv_draw_img(const lv_area_t * coords, const lv_area_t * mask,
lv_coord_t row;
uint32_t act_pos;
#if LV_COMPILER_VLA_SUPPORTED
#if LV_COMPILER_VLA_SUPoPORTED
uint8_t buf[lv_area_get_width(&mask_com) * px_size];
#else
# if LV_HOR_RES > LV_VER_RES