From 05766b3aea8c73c5bdcf5b34eb9eb134adf0ae7e Mon Sep 17 00:00:00 2001 From: Victus Date: Sun, 10 May 2026 21:17:18 +0200 Subject: [PATCH] Zmieniono wyzwalacz AP na UP + OK --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 5d90aa2..206af86 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -399,13 +399,13 @@ void loop() { if(settings.isPressed(3)) settingsDevice(); // DOWN if(settings.isPressed(1)) toogleMode(); // UP - if (settings.readBtnUp() && settings.readBtnDown()) { + if (settings.readBtnUp() && settings.readBtnOk()) { ESP_LOGI(TAG_MAIN, "Manual AP Mode trigger"); wifi.startCaptivePortal(); display.clear(); display.textCenter(1, "AP MODE"); display.textCenter(2, "192.168.4.1"); - while(settings.readBtnUp() && settings.readBtnDown()) { + while(settings.readBtnUp() && settings.readBtnOk()) { Watchdog::feed(); delay(50); }