[SYS] Fix ESP8266 discovery publications (#2100)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
1 parent
742945906d
commit
3cd7c92d8f
3 files changed
+9
-8
No files matched your search
+1
-1
@@ -526,7 +526,7 @@ void emptyQueue() {
|
||||
return;
|
||||
}
|
||||
Log.trace(F("Dequeue JSON" CR));
|
||||
DynamicJsonDocument jsonBuffer(JSON_MSG_BUFFER);
|
||||
DynamicJsonDocument jsonBuffer(JSON_MSG_BUFFER_MAX);
|
||||
JsonObject obj = jsonBuffer.to<JsonObject>();
|
||||
#ifdef ESP32
|
||||
if (xSemaphoreTake(xQueueMutex, pdMS_TO_TICKS(QueueSemaphoreTimeOutTask)) == pdFALSE) {
|
||||
|
||||
Reference in new issue
Block a user