diff --git a/TEF6686_ESP32.ino b/TEF6686_ESP32.ino index 6f5a6a8..c781956 100644 --- a/TEF6686_ESP32.ino +++ b/TEF6686_ESP32.ino @@ -5,7 +5,6 @@ #include #include #include // https://github.com/Bodmer/TFT_eSPI -#include // https://github.com/PaulStoffregen/Time #include // https://github.com/bbx10/Hash_tng #include "src/WiFiConnect.h" #include "src/WiFiConnectParam.h" diff --git a/src/TEF6686.cpp b/src/TEF6686.cpp index eba9054..5469ae9 100644 --- a/src/TEF6686.cpp +++ b/src/TEF6686.cpp @@ -725,7 +725,6 @@ void TEF6686::readRDS(byte showrdserrors) rds.hour += ((rds.rdsC << 4) & 0x0010); rds.minute = (rds.rdsD >> 6) & 0x3f; rds.offset = ((bitRead(rds.rdsD, 5) ? -rds.rdsD & 0x3f : rds.rdsD & 0x3f) / 2); - setTime(rds.hour, rds.minute, 0, rds.day, rds.month, rds.year); rds.hour += rds.offset; rds.hour = (((byte)rds.hour + 24) % 24); rds.hasCT = true;