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) {