[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
@@ -88,7 +88,7 @@ void MeasureTemp() {
|
||||
LM75data["tempc"] = (float)lm75TempC;
|
||||
LM75data["tempf"] = (float)lm75TempF;
|
||||
LM75data["origin"] = LM75TOPIC;
|
||||
enqueueJsonObject(LM75data);
|
||||
handleJsonEnqueue(LM75data);
|
||||
} else {
|
||||
Log.notice(F("Same Temp. Don't send it" CR));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user