WiP: Added URC support to ATParser

This commit is contained in:
Mati committed 2019-07-17 16:26:59 +02:00
1 parent f543aee9a6
commit fb2c58f0c2
6 files changed
+107 -31

No files matched your search

+4 -1
View File
@@ -71,7 +71,10 @@ void workerTaskFunction(void *ptr) {
InOutSerialWorker *inst = reinterpret_cast<InOutSerialWorker *>(ptr);
while (1) {
inst->cellular->Wait(UINT32_MAX);
auto ret = inst->cellular->Wait(UINT32_MAX);
if(ret == 0){
continue;
}
// AT mode is used only during initialization phase
if (inst->mode == InOutSerialWorker::Mode::AT) {