fix(windows): improve graphic performance via using high resolution tick count and timer delay implementation (#5711)

This commit is contained in:
Kenji Mouri (Qi Lu)
2024-02-22 15:02:14 +08:00
committed by GitHub
parent 049c343690
commit 467d5bd77f
2 changed files with 33 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ Usage
while (1)
{
uint32_t time_till_next = lv_timer_handler();
Sleep(time_till_next);
lv_delay_ms(time_till_next);
}
return 0;