mirror of
https://github.com/No-Chicken/Power-Pico.git
synced 2026-04-03 13:02:36 +08:00
更新API
This commit is contained in:
@@ -346,7 +346,7 @@ void ui_ChartPage_screen_init(void)
|
|||||||
void ui_ChartPage_screen_destroy(void)
|
void ui_ChartPage_screen_destroy(void)
|
||||||
{
|
{
|
||||||
if (chart_update_timer) {
|
if (chart_update_timer) {
|
||||||
lv_timer_del(chart_update_timer);
|
lv_timer_delete(chart_update_timer);
|
||||||
chart_update_timer = NULL;
|
chart_update_timer = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -133,5 +133,5 @@ void ui_StartPage_screen_init(void)
|
|||||||
|
|
||||||
void ui_StartPage_screen_destroy(void)
|
void ui_StartPage_screen_destroy(void)
|
||||||
{
|
{
|
||||||
lv_timer_del(_flush_timer);
|
lv_timer_delete(_flush_timer);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -266,5 +266,5 @@ void ui_main_screen_init(void)
|
|||||||
void ui_main_screen_destroy(void)
|
void ui_main_screen_destroy(void)
|
||||||
{
|
{
|
||||||
timecount = 0;
|
timecount = 0;
|
||||||
lv_timer_del(_flush_timer);
|
lv_timer_delete(_flush_timer);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user