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();
wm.setConfigPortalTimeout(180);
wm.setAPCallback([&](WiFiManager *wifiManager)
{
showSetupQr(softAP_SSID, softAP_password);

View file

@ -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);