BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
fa6eb2fc
Commit
fa6eb2fc
authored
Feb 15, 2018
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv_anim: delete unused global variable
parent
c547d2cf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
lv_anim.c
lv_misc/lv_anim.c
+1
-4
No files found.
lv_misc/lv_anim.c
View file @
fa6eb2fc
...
...
@@ -36,7 +36,6 @@ static bool anim_ready_handler(lv_anim_t * a);
**********************/
static
lv_ll_t
anim_ll
;
static
uint32_t
last_task_run
;
static
bool
anim_del_global_flag
=
false
;
/**********************
* MACROS
...
...
@@ -98,7 +97,6 @@ bool lv_anim_del(void * var, lv_anim_fp_t fp)
lv_ll_rem
(
&
anim_ll
,
a
);
lv_mem_free
(
a
);
del
=
true
;
anim_del_global_flag
=
true
;
}
a
=
a_next
;
...
...
@@ -232,9 +230,8 @@ static bool anim_ready_handler(lv_anim_t * a)
/*Call the callback function at the end*/
/* Check if an animation is deleted in the cb function
* if yes then the caller function has to know this*/
anim_del_global_flag
=
false
;
if
(
cb
!=
NULL
)
cb
(
p
);
invalid
=
anim_del_global_flag
;
invalid
=
true
;
}
/*If the animation is not deleted then restart it*/
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment