mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-10-25 07:58:29 -04:00
WiP: Added URC support to ATParser
This commit is contained in:
1 parent
f543aee9a6
commit
fb2c58f0c2
6 files changed
+107
-31
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user