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E=D0=B2=20=D1=81=D0=B2=D1=8F=D0=B7=D0=B8=20?= =?UTF-8?q?=D1=82=D0=B0=D0=BA=D0=B6=D0=B5=20=D0=BD=D0=B0=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=BE=D0=B9=D0=BA=D0=B0=20=D0=B5=D0=BA=D0=BE=D0=BB=D0=A0=D0=B5?= =?UTF-8?q?=D0=B6=D0=B8=D0=BC=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GsmWithGnss.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GsmWithGnss.c b/GsmWithGnss.c index e16e29e..7c0450d 100644 --- a/GsmWithGnss.c +++ b/GsmWithGnss.c @@ -48,7 +48,6 @@ void GsmWithGnss_Urc(tGsmWithGnss *env, tAtBuffer *buff) { time_t timestamp; GnssTaskGetTime(env, ×tamp); RtcSet(env->Rtc, ×tamp); - //RtcSet(env->Rtc, (time_t *) &time); } } @@ -213,7 +212,7 @@ AtCommandResult GsmWithGnss_NetworkReconnect(tAtCmd *env, uint8_t cuontReg) { } AtCommandResult GsmWithGnss_NetworkEnableInnaterups(tGsmWithGnss *env, uint8_t cuontReg, uint32_t timeOut) { - if(GsmWithGnss_WaitNetworkRegistration(env, 4000) == false) { + if(GsmWithGnss_WaitNetworkRegistration(env, 2000) == false) { if (GsmWithGnss_NetworkReconnect(&env->gsmAt, cuontReg) == AT_OK) { LoggerInfoStatic(LOGGER, LOG_SIGN, "Ждем сеть..."); if (GsmWithGnss_WaitNetworkRegistration(env, timeOut) == true) {