Skip to content

Instantly share code, notes, and snippets.

@Habbie
Created March 9, 2024 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Habbie/b296543ad365dad37b70c78fa8facdca to your computer and use it in GitHub Desktop.
Save Habbie/b296543ad365dad37b70c78fa8facdca to your computer and use it in GitHub Desktop.
diff --git a/src/uicomponents/imgs/white24.c b/src/uicomponents/imgs/white24.c
index 91f9392..13ae4cc 100644
--- a/src/uicomponents/imgs/white24.c
+++ b/src/uicomponents/imgs/white24.c
@@ -6947,16 +6947,16 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_WHITE uin
#endif
};
-const lv_img_header_t G_WHITE24HEADER = {
- .cf = LV_IMG_CF_TRUE_COLOR_ALPHA,
- .always_zero = 0,
- .reserved = 0,
- .w = 24,
- .h = 24,
-};
+// const lv_img_header_t G_WHITE24HEADER =
const lv_img_dsc_t G_WHITE24 = {
- .header = G_WHITE24HEADER,
+ .header = {
+ .cf = LV_IMG_CF_TRUE_COLOR_ALPHA,
+ .always_zero = 0,
+ .reserved = 0,
+ .w = 24,
+ .h = 24,
+ },
.data_size = 576 * LV_IMG_PX_SIZE_ALPHA_BYTE,
.data = G_WHITE24_MAP,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment