From 39d219d1f49aba0bf9a2540161894a3666307d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Wed, 23 May 2018 16:58:33 +0200 Subject: [PATCH] Added pulse debug message --- code/espurna/relay.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/code/espurna/relay.ino b/code/espurna/relay.ino index a5995986..2e7fd5d1 100644 --- a/code/espurna/relay.ino +++ b/code/espurna/relay.ino @@ -220,6 +220,7 @@ void relayPulse(unsigned char id) { if (pulseStatus == status) { _relays[id].pulseTicker.detach(); } else { + DEBUG_MSG_P(PSTR("[RELAY] Scheduling relay #%d back in %lums (pulse)\n"), id, ms); _relays[id].pulseTicker.once_ms(ms, relayToggle, id); }