更新API

This commit is contained in:
不吃油炸鸡
2025-12-03 18:31:07 +08:00
parent 04d00547ca
commit d3fb3bd7af
3 changed files with 3 additions and 3 deletions

View File

@@ -346,7 +346,7 @@ void ui_ChartPage_screen_init(void)
void ui_ChartPage_screen_destroy(void)
{
if (chart_update_timer) {
lv_timer_del(chart_update_timer);
lv_timer_delete(chart_update_timer);
chart_update_timer = NULL;
}

View File

@@ -133,5 +133,5 @@ void ui_StartPage_screen_init(void)
void ui_StartPage_screen_destroy(void)
{
lv_timer_del(_flush_timer);
lv_timer_delete(_flush_timer);
}

View File

@@ -266,5 +266,5 @@ void ui_main_screen_init(void)
void ui_main_screen_destroy(void)
{
timecount = 0;
lv_timer_del(_flush_timer);
lv_timer_delete(_flush_timer);
}