diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-02-01 15:20:59 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-02-01 15:20:59 +1100 |
| commit | 79a6dc1a3ee3a20e03a9fb01b9be0f4badaf197e (patch) | |
| tree | ed7d5754c44c4cfb422bc5cfa75471ea5b98de9e | |
| parent | ee867f2dbcad624948d73253577ef4bf887cbfad (diff) | |
| download | tangara-fw-79a6dc1a3ee3a20e03a9fb01b9be0f4badaf197e.tar.gz | |
Use a cache for lvgl images
| -rw-r--r-- | lib/lvgl/lv_conf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lvgl/lv_conf.h b/lib/lvgl/lv_conf.h index 07bfc9ad..fdaeb390 100644 --- a/lib/lvgl/lv_conf.h +++ b/lib/lvgl/lv_conf.h @@ -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*/ |
