Small fixes
This commit is contained in:
parent
280764a2fa
commit
dd32f6cc42
2 changed files with 4 additions and 2 deletions
|
@ -32,7 +32,7 @@ void setupBlockNotify()
|
||||||
{
|
{
|
||||||
String blockHeightStr = http->getString();
|
String blockHeightStr = http->getString();
|
||||||
currentBlockHeight = blockHeightStr.toInt();
|
currentBlockHeight = blockHeightStr.toInt();
|
||||||
// xTaskNotifyGive(blockUpdateTaskHandle);
|
xTaskNotifyGive(blockUpdateTaskHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
// std::strcpy(wsServer, String("wss://" + mempoolInstance + "/api/v1/ws").c_str());
|
// std::strcpy(wsServer, String("wss://" + mempoolInstance + "/api/v1/ws").c_str());
|
||||||
|
|
|
@ -115,8 +115,10 @@ void taskBlockUpdate(void *pvParameters)
|
||||||
taskEpdContent[(NUM_SCREENS - 1)] = "TO/GO";
|
taskEpdContent[(NUM_SCREENS - 1)] = "TO/GO";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (getCurrentScreen() == SCREEN_HALVING_COUNTDOWN || getCurrentScreen() == SCREEN_BLOCK_HEIGHT) {
|
||||||
setEpdContent(taskEpdContent);
|
setEpdContent(taskEpdContent);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void taskTimeUpdate(void *pvParameters)
|
void taskTimeUpdate(void *pvParameters)
|
||||||
|
|
Loading…
Reference in a new issue