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

This commit is contained in:
Xose Pérez
2017-02-22 09:56:17 +01:00
parent 562453b1d3
commit 09a8a669c4
2 changed files with 1 additions and 2 deletions

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);

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