mirror of
https://github.com/No-Chicken/Power-Pico.git
synced 2026-04-03 13:02:36 +08:00
删除RTC,改用TIM进行非中断定时时间戳
This commit is contained in:
@@ -56,6 +56,7 @@ static void main_timer_cb(lv_timer_t * timer)
|
||||
{
|
||||
// 1s 刷新一次全屏,防止有时候不知什么原因的LCD刷新错误(需要后续找到问题从根本解决)
|
||||
ui_full_screen_refresh(lv_screen_active());
|
||||
ui_GetElapsedTime_HMS(NULL, NULL, NULL); // 更新经过时间计数器
|
||||
}
|
||||
|
||||
////////////////////////// Animation //////////////////////
|
||||
|
||||
Reference in New Issue
Block a user