во время работы телематики, установлен статус навигационного решения для УВЭОС
This commit is contained in:
parent
ad718ba6d9
commit
beaea86533
|
|
@ -592,7 +592,7 @@ static _Noreturn void Mma_Thread(tMma *env) {
|
||||||
|
|
||||||
Mma_ColorBip(env);
|
Mma_ColorBip(env);
|
||||||
|
|
||||||
|
///
|
||||||
#ifdef UVEOS_ADD_TELEMATICA
|
#ifdef UVEOS_ADD_TELEMATICA
|
||||||
if (env->storage.runtime.EGTS_FLEET_ON == true) {
|
if (env->storage.runtime.EGTS_FLEET_ON == true) {
|
||||||
indicationState = GsmWithGnss_IsGnssReady(&env->gsmWithGnss) ?
|
indicationState = GsmWithGnss_IsGnssReady(&env->gsmWithGnss) ?
|
||||||
|
|
@ -601,6 +601,7 @@ static _Noreturn void Mma_Thread(tMma *env) {
|
||||||
if (env->gsmWithGnss.gnss.currentAcp.status == 'A') {
|
if (env->gsmWithGnss.gnss.currentAcp.status == 'A') {
|
||||||
EraGlonassUveos_DoNothingModeDistance(&env->uveos, true);
|
EraGlonassUveos_DoNothingModeDistance(&env->uveos, true);
|
||||||
Mma_SetMode(env, DEVICE_MODE_UVEOS_ERA_GNSS_READY);
|
Mma_SetMode(env, DEVICE_MODE_UVEOS_ERA_GNSS_READY);
|
||||||
|
indicationState = DEVICE_MODE_UVEOS_ERA_GNSS_READY;
|
||||||
} else {
|
} else {
|
||||||
Mma_SetMode(env, DEVICE_MODE_UVEOS_ERA_WAIT_GNSS);
|
Mma_SetMode(env, DEVICE_MODE_UVEOS_ERA_WAIT_GNSS);
|
||||||
env->uveos.doNothing.mode = UVEOS_DO_NOTHING_DISABLED;
|
env->uveos.doNothing.mode = UVEOS_DO_NOTHING_DISABLED;
|
||||||
|
|
@ -608,6 +609,7 @@ static _Noreturn void Mma_Thread(tMma *env) {
|
||||||
} else {
|
} else {
|
||||||
Mma_gnssUpdate(env, &indicationState);
|
Mma_gnssUpdate(env, &indicationState);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UVEOS_ADD_TELEMATICA
|
#ifndef UVEOS_ADD_TELEMATICA
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue