diff --git a/code/espurna/button.ino b/code/espurna/button.ino index 5eed062b..bb6e9a20 100644 --- a/code/espurna/button.ino +++ b/code/espurna/button.ino @@ -119,13 +119,6 @@ void buttonSetup() { } #endif - #ifdef LED_PULSE - pinMode(LED_PULSE, OUTPUT); - byte relayPulseMode = getSetting("relayPulseMode", String(RELAY_PULSE_MODE)).toInt(); - digitalWrite(LED_PULSE, relayPulseMode != RELAY_PULSE_NONE); - #endif - - #endif DEBUG_MSG("[BUTTON] Number of buttons: %d\n", _buttons.size()); diff --git a/code/espurna/relay.ino b/code/espurna/relay.ino index 8e262d3a..6b390fb9 100644 --- a/code/espurna/relay.ino +++ b/code/espurna/relay.ino @@ -96,10 +96,6 @@ void relayPulseMode(unsigned int value, bool report) { sprintf(message, "{\"relayPulseMode\": %d}", value); wsSend(message); - #ifdef LED_PULSE - digitalWrite(LED_PULSE, value != RELAY_PULSE_NONE); - #endif - } void relayPulseMode(unsigned int value) {