Skip to content

Commit

Permalink
fix(assets): add missing strides (lvgl#6790)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamHowatt authored Sep 4, 2024
1 parent f4d52cd commit 7c020e0
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions demos/music/assets/img_lv_demo_music_cover_1.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_cover_1_map[] = {
const lv_image_dsc_t img_lv_demo_music_cover_1 = {
.header.w = 176,
.header.h = 175,
.header.stride = 704,
.header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lv_demo_music_cover_1_map,
.data_size = sizeof(img_lv_demo_music_cover_1_map),
Expand Down
1 change: 1 addition & 0 deletions demos/music/assets/img_lv_demo_music_cover_1_large.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ img_lv_demo_music_cover_1_map[] = {
const lv_image_dsc_t img_lv_demo_music_cover_1 = {
.header.w = 428,
.header.h = 428,
.header.stride = 1712,
.header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lv_demo_music_cover_1_map,
.data_size = sizeof(img_lv_demo_music_cover_1_map),
Expand Down
1 change: 1 addition & 0 deletions demos/music/assets/img_lv_demo_music_cover_2.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_cover_2_map[] = {
const lv_image_dsc_t img_lv_demo_music_cover_2 = {
.header.w = 176,
.header.h = 175,
.header.stride = 704,
.header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lv_demo_music_cover_2_map,
.data_size = sizeof(img_lv_demo_music_cover_2_map),
Expand Down
1 change: 1 addition & 0 deletions demos/music/assets/img_lv_demo_music_cover_2_large.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ img_lv_demo_music_cover_2_map[] = {
const lv_image_dsc_t img_lv_demo_music_cover_2 = {
.header.w = 428,
.header.h = 428,
.header.stride = 1712,
.header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lv_demo_music_cover_2_map,
.data_size = sizeof(img_lv_demo_music_cover_2_map),
Expand Down
1 change: 1 addition & 0 deletions demos/music/assets/img_lv_demo_music_cover_3.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_cover_3_map[] = {
const lv_image_dsc_t img_lv_demo_music_cover_3 = {
.header.w = 176,
.header.h = 175,
.header.stride = 704,
.header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lv_demo_music_cover_3_map,
.data_size = sizeof(img_lv_demo_music_cover_3_map),
Expand Down
1 change: 1 addition & 0 deletions demos/music/assets/img_lv_demo_music_cover_3_large.c
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ img_lv_demo_music_cover_3_map[] = {
const lv_image_dsc_t img_lv_demo_music_cover_3 = {
.header.w = 428,
.header.h = 428,
.header.stride = 1712,
.header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lv_demo_music_cover_3_map,
.data_size = sizeof(img_lv_demo_music_cover_3_map),
Expand Down
1 change: 1 addition & 0 deletions examples/assets/img_star.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const lv_image_dsc_t img_star = {
.header.magic = LV_IMAGE_HEADER_MAGIC,
.header.w = 30,
.header.h = 29,
.header.stride = 120,
.data_size = 870 * 4,
.data = img_star_map,
};

0 comments on commit 7c020e0

Please sign in to comment.