diff --git a/src/lib/functions.cpp b/src/lib/functions.cpp index 5d5b645..3cf9f15 100644 --- a/src/lib/functions.cpp +++ b/src/lib/functions.cpp @@ -138,6 +138,7 @@ void setupWifi() setupSoftAP(); + wm.setConfigPortalTimeout(180); wm.setAPCallback([&](WiFiManager *wifiManager) { showSetupQr(softAP_SSID, softAP_password); diff --git a/src/tasks/blocknotify.cpp b/src/tasks/blocknotify.cpp index f2427fb..72f61e8 100644 --- a/src/tasks/blocknotify.cpp +++ b/src/tasks/blocknotify.cpp @@ -109,7 +109,7 @@ void setupBlockNotify() if (blockNotifyTaskHandle == nullptr) { - xTaskCreate(checkBitcoinBlock, "checkBitcoinBlock", 4096, NULL, 1, &blockNotifyTaskHandle); + xTaskCreate(checkBitcoinBlock, "checkBitcoinBlock", 8192, NULL, 1, &blockNotifyTaskHandle); vTaskSuspend(blockNotifyTaskHandle); } // xTaskCreate(bitcoinEventHandler, "bitcoinEventHandler", 10000, NULL, 110, NULL);