From 9ad3871d7f01616a0af6cb9f505a003ab9cc976c Mon Sep 17 00:00:00 2001 From: fvanroie Date: Thu, 2 Apr 2020 17:00:09 +0200 Subject: [PATCH] Disable animations on ESP8266 --- include/lv_conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/lv_conf.h b/include/lv_conf.h index 5f837db0..d97f5249 100644 --- a/include/lv_conf.h +++ b/include/lv_conf.h @@ -145,7 +145,7 @@ typedef int16_t lv_coord_t; *==================*/ /*1: Enable the Animations */ -#define LV_USE_ANIMATION 1 +#define LV_USE_ANIMATION (LV_HIGH_RESOURCE_MCU) #if LV_USE_ANIMATION /*Declare the type of the user data of animations (can be e.g. `void *`, `int`, `struct`)*/ @@ -591,7 +591,7 @@ typedef uint8_t lv_obj_user_data_t; #endif /*Preload (dependencies: lv_arc, lv_anim)*/ -#define LV_USE_SPINNER 1 +#define LV_USE_SPINNER 0 #if LV_USE_SPINNER != 0 # define LV_SPINNER_DEF_ARC_LENGTH 60 /*[deg]*/ # define LV_SPINNER_DEF_SPIN_TIME 1000 /*[ms]*/