From 5dcf0de19a145ac971b860385bd16c72cdf30898 Mon Sep 17 00:00:00 2001 From: stefanbode Date: Thu, 7 Nov 2019 10:55:31 +0100 Subject: [PATCH] fix. teleperiod issue with deep_sleep. #6842 #6842 fixed --- tasmota/support_command.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/support_command.ino b/tasmota/support_command.ino index 14fb7a575..5a4c955d8 100644 --- a/tasmota/support_command.ino +++ b/tasmota/support_command.ino @@ -1336,7 +1336,8 @@ void CmndTeleperiod(void) if ((XdrvMailbox.payload >= 0) && (XdrvMailbox.payload < 3601)) { Settings.tele_period = (1 == XdrvMailbox.payload) ? TELE_PERIOD : XdrvMailbox.payload; if ((Settings.tele_period > 0) && (Settings.tele_period < 10)) Settings.tele_period = 10; // Do not allow periods < 10 seconds - tele_period = Settings.tele_period; + tele_period = Settings.tele_period; + prep_called = false; } ResponseCmndNumber(Settings.tele_period); }