Увеличиваем интервал переподключения к сети до 30 сек для возможности настроить параметры соединения

This commit is contained in:
2022-04-30 08:41:29 +03:00
parent 26a1aca9dd
commit 790c289183

View File

@@ -63,7 +63,7 @@ bool startAPMode() {
if (jsonReadInt(errorsHeapJson, "passer") != 1) {
ts.add(
WIFI_SCAN, 10 * 1000, [&](void*) {
WIFI_SCAN, 30 * 1000, [&](void*) {
String sta_ssid = jsonReadStr(settingsFlashJson, "routerssid");
SerialPrint("i", "WIFI", "scanning for " + sta_ssid);