Add WiFi portal timeout, increase checkBitcoinBlock stack

This commit is contained in:
Djuri Baars 2023-10-02 10:41:05 +02:00
parent 8b4f2cb994
commit df8a39fd26
2 changed files with 2 additions and 1 deletions

View File

@ -138,6 +138,7 @@ void setupWifi()
setupSoftAP(); setupSoftAP();
wm.setConfigPortalTimeout(180);
wm.setAPCallback([&](WiFiManager *wifiManager) wm.setAPCallback([&](WiFiManager *wifiManager)
{ {
showSetupQr(softAP_SSID, softAP_password); showSetupQr(softAP_SSID, softAP_password);

View File

@ -109,7 +109,7 @@ void setupBlockNotify()
if (blockNotifyTaskHandle == nullptr) if (blockNotifyTaskHandle == nullptr)
{ {
xTaskCreate(checkBitcoinBlock, "checkBitcoinBlock", 4096, NULL, 1, &blockNotifyTaskHandle); xTaskCreate(checkBitcoinBlock, "checkBitcoinBlock", 8192, NULL, 1, &blockNotifyTaskHandle);
vTaskSuspend(blockNotifyTaskHandle); vTaskSuspend(blockNotifyTaskHandle);
} }
// xTaskCreate(bitcoinEventHandler, "bitcoinEventHandler", 10000, NULL, 110, NULL); // xTaskCreate(bitcoinEventHandler, "bitcoinEventHandler", 10000, NULL, 110, NULL);