Faster CT. Only do check when RDS errors is set to none

This commit is contained in:
Sjef Verhoeven PE5PVB
2025-02-10 22:14:31 +01:00
parent abd21a7e02
commit 189a88dcdc

View File

@@ -1385,7 +1385,7 @@ void TEF6686::readRDS(byte showrdserrors) {
lastrdstime = rdstime;
lasttimeoffset = timeoffset;
}
if (rdstime == lastrdstime + 60 && timeoffset == lasttimeoffset) {
if ((rdstime == lastrdstime + 60 && timeoffset == lasttimeoffset) || showrdserrors != 0) {
rds.hasCT = true;
rds.time = rdstime;
rds.offset = timeoffset;