Time will only set once after sync.

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-10-08 15:59:57 +02:00
parent a4d688f1d7
commit 1b28ff3e35

View File

@@ -735,7 +735,7 @@ void TEF6686::readRDS(byte showrdserrors)
rds.minute = (rds.rdsD >> 6) & 0x3f;
rds.offsetplusmin = bitRead(rds.rdsD, 5);
rds.offset = (rds.rdsD & 0x3f);
if (minute() != rds.minute || !rds.hasCT) {
if (!rds.hasCT) {
rds.hasCT = true;
setTime(rds.hour, rds.minute, 0, rds.day, rds.month, rds.year);
adjustTime((((rds.offsetplusmin ? -rds.offset : rds.offset) / 2) * 3600));