feat: debounce 2000мс, версия 1.5

This commit is contained in:
Aleksei
2026-06-17 10:22:16 +00:00
parent 5b8e0e8aaf
commit cf5b241fe2
+2 -2
View File
@@ -19,7 +19,7 @@
#define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT #define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT
#define AP_SSID "Barrier-Setup" #define AP_SSID "Barrier-Setup"
#define FW_VERSION "1.4" #define FW_VERSION "1.5"
#define AP_PASS "barrier123" #define AP_PASS "barrier123"
Preferences prefs; Preferences prefs;
@@ -40,7 +40,7 @@ String cfg_subnet = "255.255.255.0";
unsigned long lastPress1 = 0; unsigned long lastPress1 = 0;
unsigned long lastPress2 = 0; unsigned long lastPress2 = 0;
const unsigned long DEBOUNCE = 1500; const unsigned long DEBOUNCE = 2000;
void WiFiEvent(WiFiEvent_t event) { void WiFiEvent(WiFiEvent_t event) {
switch (event) { switch (event) {