From 20c79ba47c48f5f1e833449581192b46fcd38414 Mon Sep 17 00:00:00 2001 From: Thomas Ballmann Date: Wed, 11 Mar 2020 20:38:12 +0100 Subject: [PATCH] improve time code --- src/main.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 44d5c16..b032c23 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,12 +40,7 @@ void setup() setupWlan(); if (wlan_isConnected()) { - if (!setupDateTime()) - { - // re-try - setupDateTime(); - } - + setupDateTime(); setupPlaylist(); //setupCloud();