Fix bitcoin halving countdown and add EUR fetch price

This commit is contained in:
Djuri 2023-11-13 17:14:11 +01:00
parent 3f49b3ef4e
commit 6dfc15832b
9 changed files with 72 additions and 19 deletions

View file

@ -167,8 +167,12 @@ void setupPreferences()
void setupWebsocketClients(void *pvParameters)
{
setupBlockNotify();
// setupPriceFetchTask();
setupPriceNotify();
if (preferences.getBool("fetchEurPrice", false)) {
setupPriceFetchTask();
} else {
setupPriceNotify();
}
vTaskDelete(NULL);
}