Add WiFi portal timeout, increase checkBitcoinBlock stack
This commit is contained in:
parent
8b4f2cb994
commit
df8a39fd26
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue