queue fix

This commit is contained in:
Lubos Petrovic
2020-12-07 07:57:16 +01:00
parent 25ccc3b14a
commit 8af0e5b45a
3 changed files with 8 additions and 6 deletions

View File

@@ -635,13 +635,13 @@ void loop() {
} else {
line = line + ch;
}
}
// Can send next command from queue to OBD
if (liveData->canSendNextAtCommand) {
liveData->canSendNextAtCommand = false;
doNextAtCommand();
}
}
#ifdef SIM800L_ENABLED
if (liveData->params.lastDataSent + SIM800L_TIMER < liveData->params.currentTime && liveData->params.sim800l_enabled) {