From beaea865330a17ba5f46ac967e939e6c2bbfecfa Mon Sep 17 00:00:00 2001 From: korolev Date: Fri, 31 Jan 2025 16:59:53 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=BE=20=D0=B2=D1=80=D0=B5=D0=BC=D1=8F?= =?UTF-8?q?=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20=D1=82=D0=B5=D0=BB?= =?UTF-8?q?=D0=B5=D0=BC=D0=B0=D1=82=D0=B8=D0=BA=D0=B8,=20=D1=83=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=20=D1=81=D1=82?= =?UTF-8?q?=D0=B0=D1=82=D1=83=D1=81=20=D0=BD=D0=B0=D0=B2=D0=B8=D0=B3=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=BE=D0=BD=D0=BD=D0=BE=D0=B3=D0=BE=20=D1=80=D0=B5?= =?UTF-8?q?=D1=88=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B4=D0=BB=D1=8F=20=D0=A3?= =?UTF-8?q?=D0=92=D0=AD=D0=9E=D0=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MainModesArbiter.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MainModesArbiter.c b/MainModesArbiter.c index b44bc17..c4eb218 100644 --- a/MainModesArbiter.c +++ b/MainModesArbiter.c @@ -592,7 +592,7 @@ static _Noreturn void Mma_Thread(tMma *env) { Mma_ColorBip(env); - +/// #ifdef UVEOS_ADD_TELEMATICA if (env->storage.runtime.EGTS_FLEET_ON == true) { indicationState = GsmWithGnss_IsGnssReady(&env->gsmWithGnss) ? @@ -601,6 +601,7 @@ static _Noreturn void Mma_Thread(tMma *env) { if (env->gsmWithGnss.gnss.currentAcp.status == 'A') { EraGlonassUveos_DoNothingModeDistance(&env->uveos, true); Mma_SetMode(env, DEVICE_MODE_UVEOS_ERA_GNSS_READY); + indicationState = DEVICE_MODE_UVEOS_ERA_GNSS_READY; } else { Mma_SetMode(env, DEVICE_MODE_UVEOS_ERA_WAIT_GNSS); env->uveos.doNothing.mode = UVEOS_DO_NOTHING_DISABLED; @@ -608,6 +609,7 @@ static _Noreturn void Mma_Thread(tMma *env) { } else { Mma_gnssUpdate(env, &indicationState); } + #endif #ifndef UVEOS_ADD_TELEMATICA