From c494c89a1a9cff9e7df9e71f12c2d50ad20a7d91 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 12 Jan 2021 15:13:42 +0100 Subject: [PATCH] Update support_rtc.ino --- tasmota/support_rtc.ino | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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;