[SYS/BT] Semaphores and new BT Controller (#1819)
Add semaphore to the enqueue calls to avoid concurrency issues Add new BT controller to avoid scan evt timeout bug
This commit is contained in:
1 parent
5421f0e995
commit
eb5b8fa291
45 files changed
+380
-91
No files matched your search
+1
-2
@@ -91,8 +91,7 @@ bool _2GtoMQTT() {
|
||||
A6l.deleteSMS(unreadSMSLocs[i]); // we delete the SMS received
|
||||
Log.trace(F("Adv data 2GtoMQTT" CR));
|
||||
SMSdata["origin"] = subject2GtoMQTT;
|
||||
enqueueJsonObject(SMSdata);
|
||||
return true;
|
||||
return handleJsonEnqueue(SMSdata);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user