diff --git a/lv_conf_template.h b/lv_conf_template.h index b933f3b5b..46a6fd19d 100644 --- a/lv_conf_template.h +++ b/lv_conf_template.h @@ -126,7 +126,12 @@ typedef int16_t lv_coord_t; /*1: Enable the Animations */ #define LV_USE_ANIMATION 1 #if LV_USE_ANIMATION + +/*Declare the type of the user data of animations (can be e.g. `void *`, `int`, `struct`)*/ typedef void * lv_anim_user_data_t; + +/*Type of the animated value*/ +typedef int16_t lv_anim_value_t; #endif /* 1: Enable shadow drawing*/