fix warning in lv_anim_path_bounce

This commit is contained in:
Gabor Kiss-Vamosi
2018-12-26 19:31:00 +01:00
parent fa89846ee3
commit 3e8e94d49c

View File

@@ -236,7 +236,7 @@ int32_t lv_anim_path_bounce(const lv_anim_t * a)
/*3 bounces has 5 parts: 3 down and 2 up. One part is t / 5 long*/
if(t >= 0 && t < 408){
if(t < 408){
/*Go down*/
t = (t * 2500) >> 10; /*[0..1024] range*/
}