fix: increase default value of LV_MEM_SIZE for lv_demo_widgets #3057 (#3058)

* fix: increase default value of LV_MEM_SIZE for demo:widgets #3057

* Update demos/widgets/lv_demo_widgets.c

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
This commit is contained in:
Gabriel Wang
2022-01-29 13:34:08 +00:00
committed by GitHub
parent b34fe9ed8b
commit 7f4cde9388
3 changed files with 15 additions and 2 deletions

View File

@@ -49,7 +49,7 @@
#define LV_MEM_CUSTOM 0
#if LV_MEM_CUSTOM == 0
/*Size of the memory available for `lv_mem_alloc()` in bytes (>= 2kB)*/
#define LV_MEM_SIZE (32U * 1024U) /*[bytes]*/
#define LV_MEM_SIZE (48U * 1024U) /*[bytes]*/
/*Set an address for the memory pool instead of allocating it as a normal array. Can be in external SRAM too.*/
#define LV_MEM_ADR 0 /*0: unused*/