bump TinyLogger to 1.0.5

This commit is contained in:
Yurii
2023-11-29 18:47:16 +03:00
parent 10df1c1d34
commit 40d9606bea
3 changed files with 4 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ lib_deps =
gyverlibs/GyverPID@^3.3
gyverlibs/GyverBlinker@^1.0
milesburton/DallasTemperature@^3.11.0
laxilef/TinyLogger@^1.0.4
laxilef/TinyLogger@^1.0.5
https://github.com/Laxilef/WiFiManager/archive/refs/heads/patch-1.zip
;https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
build_flags =

View File

@@ -109,8 +109,6 @@ protected:
// anti memory leak
for (Stream* stream : Log.getStreams()) {
stream->flush();
while (stream->available()) {
stream->read();
yield();

View File

@@ -631,6 +631,7 @@ protected:
if (settings.debug) {
Log.strace("MQTT.MSG", F("Topic: %s\r\n> "), topic);
Log.lock();
for (unsigned int i = 0; i < length; i++) {
if ( payload[i] == 10 ) {
Log.print("\r\n> ");
@@ -640,10 +641,8 @@ protected:
}
}
Log.print("\r\n\n");
for (Stream* stream : Log.getStreams()) {
stream->flush();
}
Log.unlock();
Log.flush();
}
StaticJsonDocument<2048> doc;