mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Merge pull request #6858 from stefanbode/patch-5
fix. teleperiod issue with deep_sleep. #6842
This commit is contained in:
commit
7581439133
@ -1337,6 +1337,7 @@ void CmndTeleperiod(void)
|
||||
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;
|
||||
prep_called = false;
|
||||
}
|
||||
ResponseCmndNumber(Settings.tele_period);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user