mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +00:00
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)
|
void CmndSwitchDebounce(void)
|
||||||
{
|
{
|
||||||
if ((XdrvMailbox.payload > 39) && (XdrvMailbox.payload < 1001)) {
|
if ((XdrvMailbox.payload > 39) && (XdrvMailbox.payload < 1010)) {
|
||||||
Settings.switch_debounce = XdrvMailbox.payload;
|
Settings.switch_debounce = XdrvMailbox.payload;
|
||||||
}
|
}
|
||||||
ResponseCmndNumber(Settings.switch_debounce);
|
ResponseCmndNumber(Settings.switch_debounce);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user