From ca19f8f4ff216101d7bceffd3fc8efa94f96e1c5 Mon Sep 17 00:00:00 2001 From: seyyah Date: Mon, 22 Apr 2019 16:14:29 +0300 Subject: [PATCH 1/2] Add lv_anim_user_data_t May be related to: Commit - [add user data where is was missing](https://github.com/littlevgl/lvgl/commit/e2cfba7c9f7b92130601a71a2421934ce2d69538) --- lv_conf_template.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lv_conf_template.h b/lv_conf_template.h index ac19861d3..2e22c1e6f 100644 --- a/lv_conf_template.h +++ b/lv_conf_template.h @@ -120,6 +120,9 @@ /*1: Enable the Animations */ #define LV_USE_ANIMATION 1 +#if LV_USE_ANIMATION +typedef void * lv_anim_user_data_t; +#endif /* 1: Enable shadow drawing*/ #define LV_USE_SHADOW 1 From 4a663c42d4726f07c3ce8725aa12d66ea388f6a3 Mon Sep 17 00:00:00 2001 From: Amir Gonnen Date: Sun, 21 Apr 2019 02:47:58 +0300 Subject: [PATCH 2/2] fix lv_conf.h include --- src/lv_misc/lv_area.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lv_misc/lv_area.c b/src/lv_misc/lv_area.c index e890bb7b0..b8ab43919 100644 --- a/src/lv_misc/lv_area.c +++ b/src/lv_misc/lv_area.c @@ -6,7 +6,12 @@ /********************* * INCLUDES *********************/ +#ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" +#else +#include "../../../lv_conf.h" +#endif + #include "lv_area.h" #include "lv_math.h"