Fixed refernce to anim_ll. LV_GC_ROOT must be used for Micropython gc support
This commit is contained in:
committed by
Gabor Kiss-Vamosi
parent
c816847a3c
commit
af3cb73fbc
@@ -128,7 +128,7 @@ uint16_t lv_anim_count_running(void)
|
|||||||
{
|
{
|
||||||
uint16_t cnt = 0;
|
uint16_t cnt = 0;
|
||||||
lv_anim_t * a;
|
lv_anim_t * a;
|
||||||
LL_READ(anim_ll, a) cnt++;
|
LL_READ(LV_GC_ROOT(_lv_anim_ll), a) cnt++;
|
||||||
|
|
||||||
return cnt++;
|
return cnt++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user