mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-14 20:27:09 +01:00
Issue #73. Fix bug when building project without support for Domoticz
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -146,7 +146,7 @@ bool relayStatus(unsigned char id, bool status, bool report) {
|
||||
relayWS();
|
||||
}
|
||||
|
||||
#ifdef ENABLE_DOMOTICZ
|
||||
#if ENABLE_DOMOTICZ
|
||||
relayDomoticzSend(id);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user