Minor changes
This commit is contained in:
parent
5d023b13c1
commit
d1ddd9ecbb
@ -343,7 +343,7 @@ void setupWebServer()
|
|||||||
void IRAM_ATTR buttonInterrupt()
|
void IRAM_ATTR buttonInterrupt()
|
||||||
{
|
{
|
||||||
ETS_GPIO_INTR_DISABLE();
|
ETS_GPIO_INTR_DISABLE();
|
||||||
buttonInterruptTimer.once_ms(100, switchingRelay); // For prevent contact chatter.
|
buttonInterruptTimer.once_ms(500, switchingRelay); // For prevent contact chatter.
|
||||||
}
|
}
|
||||||
|
|
||||||
void switchingRelay()
|
void switchingRelay()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user