Browse Source

Added pulse debug message

rfm69
Xose Pérez 6 years ago
parent
commit
39d219d1f4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      code/espurna/relay.ino

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

@ -220,6 +220,7 @@ void relayPulse(unsigned char id) {
if (pulseStatus == status) { if (pulseStatus == status) {
_relays[id].pulseTicker.detach(); _relays[id].pulseTicker.detach();
} else { } else {
DEBUG_MSG_P(PSTR("[RELAY] Scheduling relay #%d back in %lums (pulse)\n"), id, ms);
_relays[id].pulseTicker.once_ms(ms, relayToggle, id); _relays[id].pulseTicker.once_ms(ms, relayToggle, id);
} }


Loading…
Cancel
Save