Skip to content

Commit

Permalink
Issue #73. Fix bug when building project without support for Domoticz
Browse files Browse the repository at this point in the history
  • Loading branch information
xoseperez committed Feb 22, 2017
1 parent 562453b commit 09a8a66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion code/espurna/config/prototypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
2 changes: 1 addition & 1 deletion code/espurna/relay.ino
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ bool relayStatus(unsigned char id, bool status, bool report) {
relayWS();
}

#ifdef ENABLE_DOMOTICZ
#if ENABLE_DOMOTICZ
relayDomoticzSend(id);
#endif

Expand Down

0 comments on commit 09a8a66

Please sign in to comment.