diff --git a/source/src/main.c b/source/src/main.c index 2cbe1ee..1bf9684 100644 --- a/source/src/main.c +++ b/source/src/main.c @@ -195,7 +195,7 @@ static void AppInit(void) App.Login_RTC = false; App.Login_LPTimer0 = true; //LPTimer0_ON((App.Nonce % 1200) + 300);//定时30s+随机2分钟,最小间隙100ms - LPTimer0_ON(50); + LPTimer0_ON(50);//5秒后注册 MAIN_DBG_LOG("Login LPTimer0 Open\r\n"); App.Upload45S10SCount = 0; @@ -558,6 +558,7 @@ void RtcIRQHander(void) App.Login30MinCount = 0; App.Login_RTC = false;//关闭30分注册定时器 + App.Login_LPTimer0 = true; LPTimer0_ON((App.Nonce % 1200) + 300);//定时30s+随机2分钟,最小间隙100ms MAIN_DBG_LOG("Login LPTimer0 Open\r\n"); }