From ad718ba6d9155aba707dbb0c404fdd91d5dd3687 Mon Sep 17 00:00:00 2001 From: korolev Date: Fri, 31 Jan 2025 14:34:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D0=BF=D1=80=D0=B5=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=D0=B0=D0=BB=D0=B8=D0=B4=D0=BD?= =?UTF-8?q?=D0=BE=D1=81=D1=82=D0=B8=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=D1=8B=D1=85=20=D0=B4=D0=B0=D0=BD?= =?UTF-8?q?=D0=BD=D1=8B=D1=85=20=D0=B2=20=D1=81=D0=BB=D1=83=D1=87=D0=B0?= =?UTF-8?q?=D0=B5,=20=D0=B5=D1=81=D0=BB=D0=B8=20=D0=B0=D0=BA=D1=82=D0=B8?= =?UTF-8?q?=D0=B2=D0=BD=D0=B0=20=D1=82=D0=B5=D0=BB=D0=B5=D0=BC=D0=B0=D1=82?= =?UTF-8?q?=D0=B8=D0=BA=D0=B0,=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BF=D0=B8?= =?UTF-8?q?=D1=81=D0=B0=D0=BD=D0=BE=20=D0=BD=D0=B0=20=D0=B0=D0=BD=D0=B0?= =?UTF-8?q?=D0=BB=D0=B8=D0=B7=20ACP=20=D0=BF=D1=80=D0=BE=D1=82=D0=BE=D0=BA?= =?UTF-8?q?=D0=BE=D0=BB=D0=B0,=20=D1=80=D0=B0=D0=BD=D0=B5=D0=B5=20=D0=B1?= =?UTF-8?q?=D1=8B=D0=BB=20RMC,=20=D0=BF=D1=80=D0=B8=D1=87=D0=B8=D0=BD?= =?UTF-8?q?=D0=B0=20-=20=D0=B2=20=D1=81=D0=BB=D1=83=D1=87=D0=B0=D0=B5=20?= =?UTF-8?q?=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20=D1=82=D0=B5=D0=BB=D0=B5?= =?UTF-8?q?=D0=BC=D0=B0=D1=82=D0=B8=D0=BA=D0=B8=20=D0=B8=D1=81=D0=BF=D0=BE?= =?UTF-8?q?=D0=BB=D1=8C=D0=B7=D1=83=D0=B5=D1=82=D1=81=D1=8F=20=D1=82=D0=BE?= =?UTF-8?q?=D0=BB=D1=8C=D0=BA=D0=BE=20=D1=81=D1=82=D0=B0=D0=BD=D0=B4=D0=B0?= =?UTF-8?q?=D1=80=D1=82=20ACP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MainModesArbiter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MainModesArbiter.c b/MainModesArbiter.c index 99c03cf..b44bc17 100644 --- a/MainModesArbiter.c +++ b/MainModesArbiter.c @@ -598,11 +598,11 @@ static _Noreturn void Mma_Thread(tMma *env) { indicationState = GsmWithGnss_IsGnssReady(&env->gsmWithGnss) ? DEVICE_MODE_UVEOS_ERA_GNSS_READY : DEVICE_MODE_UVEOS_ERA_WAIT_GNSS; - if (env->gsmWithGnss.gnss.currentRmc.status == 'A') { + if (env->gsmWithGnss.gnss.currentAcp.status == 'A') { EraGlonassUveos_DoNothingModeDistance(&env->uveos, true); - Mma_SetMode(env, DEVICE_MODE_UVEOS_ERA_WAIT_GNSS); - } else { Mma_SetMode(env, DEVICE_MODE_UVEOS_ERA_GNSS_READY); + } else { + Mma_SetMode(env, DEVICE_MODE_UVEOS_ERA_WAIT_GNSS); env->uveos.doNothing.mode = UVEOS_DO_NOTHING_DISABLED; } } else {