diff --git a/code/espurna/config/prototypes.h b/code/espurna/config/prototypes.h index 4d3c43fe..c9373597 100644 --- a/code/espurna/config/prototypes.h +++ b/code/espurna/config/prototypes.h @@ -14,4 +14,3 @@ template bool setSetting(const String& key, T value); template String getSetting(const String& key, T defaultValue); template void domoticzSend(const char * key, T value); template void domoticzSend(const char * key, T nvalue, const char * svalue); -void relayDomoticzSend(unsigned int relayID); diff --git a/code/espurna/relay.ino b/code/espurna/relay.ino index 3c93ef7b..713ef3e2 100644 --- a/code/espurna/relay.ino +++ b/code/espurna/relay.ino @@ -146,7 +146,7 @@ bool relayStatus(unsigned char id, bool status, bool report) { relayWS(); } - #ifdef ENABLE_DOMOTICZ + #if ENABLE_DOMOTICZ relayDomoticzSend(id); #endif