Browse Source

Removed unnecessary code

fastled
Xose Pérez 7 years ago
parent
commit
4a65bdf1b8
2 changed files with 0 additions and 11 deletions
  1. +0
    -7
      code/espurna/button.ino
  2. +0
    -4
      code/espurna/relay.ino

+ 0
- 7
code/espurna/button.ino View File

@ -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());


+ 0
- 4
code/espurna/relay.ino View File

@ -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) {


Loading…
Cancel
Save