Use a cache for lvgl images

This commit is contained in:
jacqueline
2024-02-01 15:20:59 +11:00
parent ee867f2dbc
commit 79a6dc1a3e
+1 -1
View File
@@ -140,7 +140,7 @@
*With complex image decoders (e.g. PNG or JPG) caching can save the continuous open/decode of images.
*However the opened images might consume additional RAM.
*0: to disable caching*/
#define LV_IMG_CACHE_DEF_SIZE 0
#define LV_IMG_CACHE_DEF_SIZE (16)
/*Number of stops allowed per gradient. Increase this to allow more stops.
*This adds (sizeof(lv_color_t) + 1) bytes per additional stop*/