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