mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix(tick) minor optmization on lv_tick_inc call test
See aa6641a6f1 (r51932352)
This commit is contained in:
parent
d0aaacafb6
commit
b4305df574
@ -83,7 +83,7 @@ LV_ATTRIBUTE_TIMER_HANDLER uint32_t lv_timer_handler(void)
|
||||
|
||||
uint32_t handler_start = lv_tick_get();
|
||||
|
||||
if(lv_tick_get() == 0) {
|
||||
if(handler_start == 0) {
|
||||
static uint32_t run_cnt = 0;
|
||||
run_cnt ++;
|
||||
if(run_cnt > 100) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user