From 6ba9e2915ad00226d2c1a19c9fc9aa1e5468debf Mon Sep 17 00:00:00 2001 From: cfif Date: Wed, 28 May 2025 15:16:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BD=D0=B0=20=D0=BD=D0=BE=D0=B2=D1=8B=D0=B5=20?= =?UTF-8?q?=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=B8=D0=BD=D0=BE=D0=B2=20=D0=B8=20=D1=83=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=BE=D0=B9=D1=81=D1=82=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/ModemMain.c | 8 ++++---- Src/Modem_Timer.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) 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();