feat(img_cache): allow disabling image cacheing

related to #1954
This commit is contained in:
Gabor Kiss-Vamosi
2020-12-10 11:14:22 +01:00
parent 861f07bb77
commit 5fc66822b9
5 changed files with 79 additions and 52 deletions

View File

@@ -221,8 +221,9 @@ void lv_init(void)
_lv_indev_init();
_lv_img_decoder_init();
#if LV_IMG_CACHE_DEF_SIZE
lv_img_cache_set_size(LV_IMG_CACHE_DEF_SIZE);
#endif
/*Test if the IDE has UTF-8 encoding*/
char * txt = "Á";