Browse Source

Issue #73. Fix bug when building project without support for Domoticz

fastled
Xose Pérez 7 years ago
parent
commit
09a8a669c4
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      code/espurna/config/prototypes.h
  2. +1
    -1
      code/espurna/relay.ino

+ 0
- 1
code/espurna/config/prototypes.h View File

@ -14,4 +14,3 @@ template<typename T> bool setSetting(const String& key, T value);
template<typename T> String getSetting(const String& key, T defaultValue);
template<typename T> void domoticzSend(const char * key, T value);
template<typename T> void domoticzSend(const char * key, T nvalue, const char * svalue);
void relayDomoticzSend(unsigned int relayID);

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

@ -146,7 +146,7 @@ bool relayStatus(unsigned char id, bool status, bool report) {
relayWS();
}
#ifdef ENABLE_DOMOTICZ
#if ENABLE_DOMOTICZ
relayDomoticzSend(id);
#endif


Loading…
Cancel
Save