diff --git a/tasmota/support_rtc.ino b/tasmota/support_rtc.ino index 990e78666..08f7cfc3d 100644 --- a/tasmota/support_rtc.ino +++ b/tasmota/support_rtc.ino @@ -455,16 +455,13 @@ void RtcSecond(void) Rtc.midnight_now = true; } -//#ifdef ESP32 if (mutex) { // Time is just synced and is valid - // Sync RTOS time to be used by SD Card time stamps + // Sync Core/RTOS time to be used by file system time stamps struct timeval tv; tv.tv_sec = Rtc.local_time; tv.tv_usec = 0; settimeofday(&tv, nullptr); } -//#endif // ESP32 - } RtcTime.year += 1970;