From 9db4cd2be893d0ad3480f951d658515130bc7c8f Mon Sep 17 00:00:00 2001 From: cfif Date: Thu, 19 Dec 2024 15:13:08 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20=D0=B2=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=A2=D0=95=D0=9B=D0=95=D0=9C=D0=90=D0=A2=D0=98=D0=9A?= =?UTF-8?q?=D0=98=20=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=20=D0=B8=D1=81=D1=82?= =?UTF-8?q?=D0=B5=D1=87=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=82=D0=B0=D0=B9=D0=BC?= =?UTF-8?q?=D0=B5=D1=80=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MainModesArbiter.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/MainModesArbiter.c b/MainModesArbiter.c index 29ea32c..83151d5 100644 --- a/MainModesArbiter.c +++ b/MainModesArbiter.c @@ -114,8 +114,10 @@ void Mma_CheckShutdown(tMma *env, bool fastBlackOut) { } else { #ifdef UVEOS_ADD_TELEMATICA - if (env->storage.runtime.EGTS_FLEET_ON == false) - TELEMATICA_START(env); + if ((!statStandUp)) { + if (env->storage.runtime.EGTS_FLEET_ON == false) + TELEMATICA_START(env); + } #endif } @@ -663,6 +665,9 @@ static _Noreturn void Mma_Thread(tMma *env) { if (UveosEmergencyEvent_GetNext(&env->crashDetect.emergencyEvents, &emergencyEvent, 0)) { if (env->storage.nvm.gost.CRASH_SIGNAL_INTERNAL == 1) { LoggerInfoStatic(LOGGER, LOG_SIGN, "Экстренное событие получено"); +#ifdef UVEOS_ADD_TELEMATICA + TELEMATICA_STOP(env); +#endif Mma_EcallAutomatic(env, emergencyEvent); } }