mirror of
https://github.com/btclock/btclock_v3.git
synced 2024-11-19 04:20:01 +01:00
Small fixes
This commit is contained in:
parent
280764a2fa
commit
dd32f6cc42
@ -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,7 +115,9 @@ void taskBlockUpdate(void *pvParameters)
|
|||||||
taskEpdContent[(NUM_SCREENS - 1)] = "TO/GO";
|
taskEpdContent[(NUM_SCREENS - 1)] = "TO/GO";
|
||||||
}
|
}
|
||||||
|
|
||||||
setEpdContent(taskEpdContent);
|
if (getCurrentScreen() == SCREEN_HALVING_COUNTDOWN || getCurrentScreen() == SCREEN_BLOCK_HEIGHT) {
|
||||||
|
setEpdContent(taskEpdContent);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user