diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index 3c00c510..d205707b 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -321,6 +321,7 @@ #define RELAY_PROVIDER RELAY_PROVIDER_DUAL #define DUMMY_RELAY_COUNT 2 #define DEBUG_SERIAL_SUPPORT 0 + #define TERMINAL_SUPPORT 0 // Buttons #define BUTTON3_RELAY 1 diff --git a/code/espurna/relay.ino b/code/espurna/relay.ino index 3460f07f..54345fb5 100644 --- a/code/espurna/relay.ino +++ b/code/espurna/relay.ino @@ -50,7 +50,7 @@ Ticker _relaySaveTicker; #endif -void relayProviderStatus(unsigned char id, bool status) { +void _relayProviderStatus(unsigned char id, bool status) { // Check relay ID if (id >= _relays.size()) return; @@ -685,7 +685,7 @@ void relayLoop(void) { DEBUG_MSG_P(PSTR("[RELAY] #%d set to %s\n"), id, status ? "ON" : "OFF"); // Call the provider to perform the action - relayProviderStatus(id, status); + _relayProviderStatus(id, status); // Change the binded LED if any if (_relays[id].led > 0) {