diff --git a/scripts/LVGLImage.py b/scripts/LVGLImage.py index c5a404f5cd..7c3f415ab4 100755 --- a/scripts/LVGLImage.py +++ b/scripts/LVGLImage.py @@ -354,8 +354,10 @@ const lv_image_dsc_t {varname} = {{ .header.w = {w}, .header.h = {h}, .header.stride = {stride}, + .header.reserved_2 = 0, .data_size = sizeof({varname}_map), .data = {varname}_map, + .reserved = NULL, }}; '''