mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
chore(timer): fix warning (#4199)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
This commit is contained in:
parent
ac84ae23de
commit
4c4b7858b8
@ -311,9 +311,15 @@ static bool lv_timer_exec(lv_timer_t * timer)
|
||||
if(timer->repeat_count > 0) timer->repeat_count--;
|
||||
timer->last_run = lv_tick_get();
|
||||
TIMER_TRACE("calling timer callback: %p", *((void **)&timer->timer_cb));
|
||||
|
||||
if(timer->timer_cb && original_repeat_count != 0) timer->timer_cb(timer);
|
||||
if(!timer_deleted) TIMER_TRACE("timer callback %p finished", *((void **)&timer->timer_cb));
|
||||
else TIMER_TRACE("timer callback finished");
|
||||
|
||||
if(!timer_deleted) {
|
||||
TIMER_TRACE("timer callback %p finished", *((void **)&timer->timer_cb));
|
||||
}
|
||||
else {
|
||||
TIMER_TRACE("timer callback finished");
|
||||
}
|
||||
|
||||
LV_ASSERT_MEM_INTEGRITY();
|
||||
exec = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user