youhua
author@CHENG <2393524978@qq.com>
Fri, 19 Apr 2024 09:39:29 +0000 (17:39 +0800)
committer@CHENG <2393524978@qq.com>
Fri, 19 Apr 2024 09:39:29 +0000 (17:39 +0800)
2.sdk/sdk/gui/lv_watch/lv_apps/shutdown/shutdown.c

index 9a38387..30a2a3f 100644 (file)
@@ -239,7 +239,9 @@ void shutdown_confirm_btn_action(lv_obj_t * btn, lv_event_t event)
 #else
     printf("shutdown without power off gif.\n");
     Hal_Backlight_Off();
+       #ifndef __MMI_ZHSX_SUPPORT__
     lv_task_del(lowbattery_task_p);
+       #endif
     Hal_Power_Off(HAL_TYPE_POWER_OFF);
 #endif
     return;