diff --git a/code/src/main.ino b/code/src/main.ino index 31fde97b..e0dd71e6 100644 --- a/code/src/main.ino +++ b/code/src/main.ino @@ -30,6 +30,7 @@ along with this program. If not, see . #include #include "FS.h" String getSetting(const String& key, String defaultValue = ""); +bool relayStatus(unsigned char id, bool status, bool report = true); // ----------------------------------------------------------------------------- // METHODS diff --git a/code/src/relay.ino b/code/src/relay.ino index f6fdb61b..a27a4df2 100644 --- a/code/src/relay.ino +++ b/code/src/relay.ino @@ -58,7 +58,7 @@ bool relayStatus(unsigned char id) { #endif } -bool relayStatus(unsigned char id, bool status, bool report = true) { +bool relayStatus(unsigned char id, bool status, bool report) { bool changed = false;