修改睡眠投票记录 1548/1 1548/head 1549/target/1 1550/target/1 1551/target/1
authorhcj <1224667075@qq.com>
Sat, 21 Dec 2024 03:47:24 +0000 (11:47 +0800)
committerhcj <1224667075@qq.com>
Sat, 21 Dec 2024 03:47:24 +0000 (11:47 +0800)
code/sdk/application/brandy/brandy_standard/thread_init.c

index fe95a02..60df801 100755 (executable)
@@ -296,10 +296,12 @@ static void print_system_sleep_info(void)
     if(last_m_core_sleep!=m_core_sleep)
     {
         if(m_core_sleep)
-        uapi_save_runtime_log(RUNTIME_LOG_lOW_POWER_M_SLEEP);
+        {
+            uapi_save_runtime_log(RUNTIME_LOG_lOW_POWER_M_SLEEP);
+        }
         else
         {
-             uapi_save_runtime_log(RUNTIME_LOG_lOW_POWER_NO_M_SLEEP);
+            uapi_save_runtime_log(RUNTIME_LOG_lOW_POWER_NO_M_SLEEP);
             get_save_runtime_vote_status();
            
         }
@@ -313,10 +315,14 @@ static void print_system_sleep_info(void)
         if(sys_slp)
         {
             uapi_save_runtime_log(RUNTIME_LOG_lOW_POWER_SYS_SLEEP_1);
-            get_save_runtime_vote_status();
+           
         }
         else
-        uapi_save_runtime_log(RUNTIME_LOG_lOW_POWER_SYS_SLEEP_0);
+        {
+            uapi_save_runtime_log(RUNTIME_LOG_lOW_POWER_SYS_SLEEP_0);
+            get_save_runtime_vote_status();
+        }
+       
 
         last_sys_slp=sys_slp;
     }