Merge pull request #8751 from halfbakery/switchdebounce_flag_fix

SwitchDebounce flags should be added to every valid imeout values
This commit is contained in:
Theo Arends 2020-06-21 21:35:28 +02:00 committed by GitHub
commit ef230340e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);