Lowered LV_MEM_SIZE on esp8266

This commit is contained in:
fvanroie 2020-05-25 19:51:05 +02:00
parent 4b2b8e2b8a
commit aa7115bef1

View File

@ -77,7 +77,7 @@ typedef int16_t lv_coord_t;
#if LV_MEM_CUSTOM == 0 #if LV_MEM_CUSTOM == 0
/* Size of the memory used by `lv_mem_alloc` in bytes (>= 2kB)*/ /* Size of the memory used by `lv_mem_alloc` in bytes (>= 2kB)*/
#ifdef ESP8266 #ifdef ESP8266
# define LV_MEM_SIZE (12 * 1024U) // 12KB # define LV_MEM_SIZE (10 * 1024U) // 12KB
#endif #endif
#ifndef LV_MEM_SIZE #ifndef LV_MEM_SIZE
# define LV_MEM_SIZE (20 * 1024U) // 48KB # define LV_MEM_SIZE (20 * 1024U) // 48KB