Добавлено включение ТЕЛЕМАТИКИ после истечения таймеров
This commit is contained in:
parent
1c439c330a
commit
9db4cd2be8
|
|
@ -114,8 +114,10 @@ void Mma_CheckShutdown(tMma *env, bool fastBlackOut) {
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
#ifdef UVEOS_ADD_TELEMATICA
|
#ifdef UVEOS_ADD_TELEMATICA
|
||||||
if (env->storage.runtime.EGTS_FLEET_ON == false)
|
if ((!statStandUp)) {
|
||||||
TELEMATICA_START(env);
|
if (env->storage.runtime.EGTS_FLEET_ON == false)
|
||||||
|
TELEMATICA_START(env);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -663,6 +665,9 @@ static _Noreturn void Mma_Thread(tMma *env) {
|
||||||
if (UveosEmergencyEvent_GetNext(&env->crashDetect.emergencyEvents, &emergencyEvent, 0)) {
|
if (UveosEmergencyEvent_GetNext(&env->crashDetect.emergencyEvents, &emergencyEvent, 0)) {
|
||||||
if (env->storage.nvm.gost.CRASH_SIGNAL_INTERNAL == 1) {
|
if (env->storage.nvm.gost.CRASH_SIGNAL_INTERNAL == 1) {
|
||||||
LoggerInfoStatic(LOGGER, LOG_SIGN, "Экстренное событие получено");
|
LoggerInfoStatic(LOGGER, LOG_SIGN, "Экстренное событие получено");
|
||||||
|
#ifdef UVEOS_ADD_TELEMATICA
|
||||||
|
TELEMATICA_STOP(env);
|
||||||
|
#endif
|
||||||
Mma_EcallAutomatic(env, emergencyEvent);
|
Mma_EcallAutomatic(env, emergencyEvent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue