Добавлен однозначный переход в профиль ЭРА
This commit is contained in:
parent
1eb4dd39cd
commit
2326a2d497
|
|
@ -30,19 +30,18 @@ void TELEMATICA_STOP(tMma *env) {
|
||||||
|
|
||||||
if (env->storage.runtime.EGTS_FLEET_ON) {
|
if (env->storage.runtime.EGTS_FLEET_ON) {
|
||||||
|
|
||||||
if (env->storage.runtime.EGTS_FLEET_ON == true) {
|
env->storage.runtime.EGTS_FLEET_ON = false;
|
||||||
|
|
||||||
env->storage.runtime.EGTS_FLEET_ON = false;
|
for (uint8_t i = 0; i < 30; ++i) {
|
||||||
|
if (env->storage.runtime.telematicaCloseConnect)
|
||||||
|
break;
|
||||||
|
|
||||||
for (uint8_t i = 0; i < 30; ++i) {
|
SystemDelayMs(100);
|
||||||
if (env->storage.runtime.telematicaCloseConnect)
|
|
||||||
break;
|
|
||||||
|
|
||||||
SystemDelayMs(100);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Gsm_SetProfileERA(&env->egtsProcessing);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue