Browse Source

Rename relayPulseStart to relayPulse

fastled
Xose Pérez 7 years ago
parent
commit
17f1e09b86
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      code/espurna/relay.ino

+ 2
- 2
code/espurna/relay.ino View File

@ -74,7 +74,7 @@ void relayPulseBack(unsigned char id) {
pulseTicker.detach(); pulseTicker.detach();
} }
void relayPulseStart(unsigned char id) {
void relayPulse(unsigned char id) {
byte relayPulseMode = getSetting("relayPulseMode", RELAY_PULSE_MODE).toInt(); byte relayPulseMode = getSetting("relayPulseMode", RELAY_PULSE_MODE).toInt();
if (relayPulseMode == RELAY_PULSE_NONE) return; if (relayPulseMode == RELAY_PULSE_NONE) return;
@ -160,7 +160,7 @@ bool relayStatus(unsigned char id, bool status, bool report) {
#endif #endif
if (!recursive) { if (!recursive) {
relayPulseStart(id);
relayPulse(id);
relaySync(id); relaySync(id);
relaySave(); relaySave();
} }


Loading…
Cancel
Save