[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
@@ -68,7 +68,7 @@ void MeasureLightIntensityTEMT6000() {
|
||||
TEMT6000data["ftcd"] = (float)(lux) / 10.764;
|
||||
TEMT6000data["wattsm2"] = (float)(lux) / 683.0;
|
||||
TEMT6000data["origin"] = subjectTEMT6000toMQTT;
|
||||
enqueueJsonObject(TEMT6000data);
|
||||
handleJsonEnqueue(TEMT6000data);
|
||||
} else {
|
||||
Log.trace(F("Same lux value, do not send" CR));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user