Browse Source

Merge branch 'dev' into rfbridge

fastled
Xose Pérez 7 years ago
parent
commit
3c214760b5
3 changed files with 1 additions and 3 deletions
  1. +1
    -0
      code/espurna/debug.ino
  2. +0
    -1
      code/espurna/relay.ino
  3. +0
    -2
      code/espurna/web.ino

+ 1
- 0
code/espurna/debug.ino View File

@ -37,6 +37,7 @@ void debugSend(const char * format, ...) {
udpDebug.write(" (...)\n");
}
udpDebug.endPacket();
delay(1);
#endif
}


+ 0
- 1
code/espurna/relay.ino View File

@ -320,7 +320,6 @@ void relayWS() {
wsSend(output.c_str());
}
//------------------------------------------------------------------------------
// Domoticz
//------------------------------------------------------------------------------


+ 0
- 2
code/espurna/web.ino View File

@ -45,13 +45,11 @@ char _last_modified[50];
bool wsSend(const char * payload) {
if (ws.count() > 0) {
DEBUG_MSG_P(PSTR("[WEBSOCKET] Broadcasting '%s'\n"), payload);
ws.textAll(payload);
}
}
bool wsSend(uint32_t client_id, const char * payload) {
DEBUG_MSG_P(PSTR("[WEBSOCKET] Sending '%s' to #%ld\n"), payload, client_id);
ws.text(client_id, payload);
}


Loading…
Cancel
Save