mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
продолжение переписи api
This commit is contained in:
@@ -132,5 +132,5 @@ void saveUserDataToFlash() {
|
||||
|
||||
void handleUpdateStatus(bool send, int state) {
|
||||
jsonWriteInt_(errorsHeapJson, F("upd"), state);
|
||||
if (!send) standWebSocket.broadcastTXT(errorsHeapJson);
|
||||
if (!send) sendStringToWs("errors", errorsHeapJson, -1);
|
||||
}
|
||||
Reference in New Issue
Block a user