sleep 60s power_save_mode
authorkyz <kongyuzhong@google.com>
Tue, 8 Jul 2025 02:22:55 +0000 (10:22 +0800)
committerkyz <kongyuzhong@google.com>
Tue, 8 Jul 2025 02:22:55 +0000 (10:22 +0800)
USER/SRC/main.c

index f4d5ba961ec60971e19c1e33c55d79824e6ebf3b..46ff31ad869b4692d1805a98a9b90517b3e6b58c 100644 (file)
@@ -190,13 +190,13 @@ void func_test(void)
                        //RTC_WaitForLastTask();                                                                                //µÈ´ýÉÏÒ»´Î²Ù×÷Íê³É
                        RTC_EnterConfigMode();          
                        RTC_WaitForLastTask();                                  
-                       RTC_SetAlarm((30)+RTC_GetCounter());                                                    //ÅäÖÃÏ´ÎÄÖÖÓΪ60sºó
+                       RTC_SetAlarm((60)+RTC_GetCounter());                                                    //ÅäÖÃÏ´ÎÄÖÖÓΪ60sºó
                        RTC_WaitForLastTask();
                        RTC_ExitConfigMode();                   
                        PWR_EnterSTOPMode(PWR_Regulator_LowPower,PWR_STOPEntry_WFI);    //½øÈëֹͣģʽµÍ¹¦ºÄ
                        SYSCLKConfig_STOP();                                                                                            
                        SysTickEnableOrDisable(ENABLE);                                                                 //´ò¿ªsystick
-                       
+
                        send_success = 0;
                        send_err = 0;
                        ConnectFlag = 0;