SwitchDebounce flags should be added to every valid imeout values

This commit is contained in:
halfbakery 2020-06-21 20:46:37 +02:00
parent bb30044ae6
commit 2e43715343
1 changed files with 1 additions and 1 deletions

View File

@ -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);