From 09a8a669c40b3ad5bfdc5dc5299a72c6d2b329e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Wed, 22 Feb 2017 09:56:17 +0100 Subject: [PATCH] Issue #73. Fix bug when building project without support for Domoticz --- code/espurna/config/prototypes.h | 1 - code/espurna/relay.ino | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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