diff -r edbd87949204 -r 4ec04c6f1551 main/task_tft.c --- a/main/task_tft.c Fri May 17 15:43:31 2019 +0200 +++ b/main/task_tft.c Sat May 18 11:34:51 2019 +0200 @@ -510,17 +510,12 @@ } /* - * Timekeeping. In the WiFi task sntp is started if there - * is a valid internet connection. + * Timekeeping. + * In the WiFi task sntp is started and sets System_TimeOk if the + * clock is synced once. */ time(&now); localtime_r(&now, &timeinfo); - // Is time set? If not, tm_year will be (1970 - 1900). - if ((timeinfo.tm_year > (2016 - 1900)) && (! System_TimeOk)) { - System_TimeOk = true; - strftime(strftime_buf, sizeof(strftime_buf), "%c", &timeinfo); - ESP_LOGI(TAG, "System time is set: %s", strftime_buf); - } if (Old_Screen != Main_Screen) {