Add WiFi portal timeout, increase checkBitcoinBlock stack
This commit is contained in:
parent
8b4f2cb994
commit
df8a39fd26
@ -138,6 +138,7 @@ void setupWifi()
|
||||
|
||||
setupSoftAP();
|
||||
|
||||
wm.setConfigPortalTimeout(180);
|
||||
wm.setAPCallback([&](WiFiManager *wifiManager)
|
||||
{
|
||||
showSetupQr(softAP_SSID, softAP_password);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user