From 33f85b20238cd058ed363867fb20160732f362fa Mon Sep 17 00:00:00 2001 From: andrethomas Date: Fri, 30 Nov 2018 19:55:22 +0200 Subject: [PATCH] Upd settings.ino - set sleep=0 when SetOption36>0 Update settings.ino - set sleep=0 when SetOption36>0 --- sonoff/settings.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/sonoff/settings.ino b/sonoff/settings.ino index 99e81230d..cf49c0719 100644 --- a/sonoff/settings.ino +++ b/sonoff/settings.ino @@ -857,6 +857,7 @@ void SettingsDelta(void) } if (Settings.version < 0x0603000A) { Settings.param[P_LOOP_SLEEP_DELAY] = LOOP_SLEEP_DELAY; + Settings.sleep = 0; // We do not want sleep enabled when SetOption36 is active } if (Settings.version < 0x0603000E) { Settings.flag2.calc_resolution = CALC_RESOLUTION;