Browse Source

Fix rare bug...

fastled
Xose Pérez 8 years ago
parent
commit
6a368266fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/relay.ino

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

@ -182,7 +182,7 @@ void relaySetupAPI() {
apiRegister(url, key,
[relayID](char * buffer, size_t len) {
snprintf(buffer, "%d", len, relayStatus(relayID) ? 1 : 0);
snprintf(buffer, len, "%d", relayStatus(relayID) ? 1 : 0);
},
[relayID](const char * payload) {
unsigned int value = payload[0] - '0';


Loading…
Cancel
Save