diff --git a/Src/ModemMain.c b/Src/ModemMain.c index 98d151e..fb14440 100644 --- a/Src/ModemMain.c +++ b/Src/ModemMain.c @@ -1229,7 +1229,7 @@ static _Noreturn void ModemMain_Thread(tModemMain *env) { FlagOffUs = true; // Включение TX_PWR_En - GpioPinSet(&env->gpios->Power.tx_pwr_en, true); +// GpioPinSet(&env->gpios->Power.tx_pwr_en, true); // Ожидание инициализации устройства управления питанием SystemDelayMs(80 * 2); @@ -1252,7 +1252,7 @@ static _Noreturn void ModemMain_Thread(tModemMain *env) { //#endif // Отключение TX_PWR_En - GpioPinSet(&env->gpios->Power.tx_pwr_en, false); +// GpioPinSet(&env->gpios->Power.tx_pwr_en, false); FlagOnUs = true; FlagOffUs = false; @@ -1270,7 +1270,7 @@ static _Noreturn void ModemMain_Thread(tModemMain *env) { #endif // Отключение TX_PWR_En - GpioPinSet(&env->gpios->Power.tx_pwr_en, false); +// GpioPinSet(&env->gpios->Power.tx_pwr_en, false); // Фиксация уже выключенного предусилителя FlagOnUs = true; @@ -1348,7 +1348,7 @@ static _Noreturn void ModemMain_Thread(tModemMain *env) { LoggerInfo(LOGGER, LOG_SIGN, bufText, strlen(bufText)); startStuckGetMs = false; // Отключение TX_PWR_En - GpioPinSet(&env->gpios->Power.tx_pwr_en, false); +// GpioPinSet(&env->gpios->Power.tx_pwr_en, false); } } diff --git a/Src/Modem_Timer.c b/Src/Modem_Timer.c index 701f229..c336e41 100644 --- a/Src/Modem_Timer.c +++ b/Src/Modem_Timer.c @@ -34,9 +34,9 @@ static _Noreturn void ModemTimer_Thread(tModemTimer *env) { // Если завис больше 30 секунд if (dlStuckGetMs > 30000) { - GpioPinSet(&env->gpios->Power.gonec_reset, false); - SystemDelayMs(1000); - GpioPinSet(&env->gpios->Power.gonec_reset, true); +// GpioPinSet(&env->gpios->Power.gonec_reset, false); +// SystemDelayMs(1000); +// GpioPinSet(&env->gpios->Power.gonec_reset, true); SystemDelayMs(6000); timeModemStuckGetMs = SystemGetMs();