mirror of https://github.com/arendst/Tasmota.git
Merge pull request #8751 from halfbakery/switchdebounce_flag_fix
SwitchDebounce flags should be added to every valid imeout values
This commit is contained in:
commit
ef230340e4
|
@ -1275,7 +1275,7 @@ void CmndButtonDebounce(void)
|
|||
|
||||
void CmndSwitchDebounce(void)
|
||||
{
|
||||
if ((XdrvMailbox.payload > 39) && (XdrvMailbox.payload < 1001)) {
|
||||
if ((XdrvMailbox.payload > 39) && (XdrvMailbox.payload < 1010)) {
|
||||
Settings.switch_debounce = XdrvMailbox.payload;
|
||||
}
|
||||
ResponseCmndNumber(Settings.switch_debounce);
|
||||
|
|
Loading…
Reference in New Issue