Skip to content

Commit

Permalink
use typedef lv_coord_t lv_anim_value_t in lv_anim.h
Browse files Browse the repository at this point in the history
  • Loading branch information
kisvegabor committed Jun 20, 2019
1 parent a63c5eb commit a9c818a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lv_conf_template.h
Expand Up @@ -130,8 +130,6 @@ typedef int16_t lv_coord_t;
/*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*/
Expand Down
3 changes: 3 additions & 0 deletions src/lv_misc/lv_anim.h
Expand Up @@ -39,6 +39,9 @@ enum {

typedef uint8_t lv_anim_enable_t;

/*Type of the animated value*/
typedef lv_coord_t lv_anim_value_t;

#if LV_USE_ANIMATION

struct _lv_anim_t;
Expand Down

0 comments on commit a9c818a

Please sign in to comment.