From 08033444c5ac1bd8624f91e41cfbffbc140f7d06 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 12 Jan 2021 15:03:06 +0100 Subject: [PATCH] Fix filetime --- tasmota/support_rtc.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/support_rtc.ino b/tasmota/support_rtc.ino index e9afa4597..990e78666 100644 --- a/tasmota/support_rtc.ino +++ b/tasmota/support_rtc.ino @@ -455,7 +455,7 @@ void RtcSecond(void) Rtc.midnight_now = true; } -#ifdef ESP32 +//#ifdef ESP32 if (mutex) { // Time is just synced and is valid // Sync RTOS time to be used by SD Card time stamps struct timeval tv; @@ -463,7 +463,7 @@ void RtcSecond(void) tv.tv_usec = 0; settimeofday(&tv, nullptr); } -#endif // ESP32 +//#endif // ESP32 }