mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 22:52:19 +03:00
исправление вывода лога в режиме AP
This commit is contained in:
@@ -11,11 +11,11 @@ void SerialPrint(const String& errorLevel, const String& module, const String& m
|
||||
tosend += msg;
|
||||
Serial.println(tosend);
|
||||
|
||||
if (isNetworkActive()) {
|
||||
if (jsonReadInt(settingsFlashJson, F("log")) != 0) {
|
||||
sendStringToWs(F("corelg"), tosend, -1);
|
||||
}
|
||||
// if (isNetworkActive()) { // все проверки происходят в sendStringToWs()
|
||||
if (jsonReadInt(settingsFlashJson, F("log")) != 0) {
|
||||
sendStringToWs(F("corelg"), tosend, -1);
|
||||
}
|
||||
// }
|
||||
|
||||
if (errorLevel == "E") {
|
||||
cleanString(tosend);
|
||||
|
||||
Reference in New Issue
Block a user