Faster CT. Only do check when RDS errors is set to none
This commit is contained in:
+1
-1
@@ -1385,7 +1385,7 @@ void TEF6686::readRDS(byte showrdserrors) {
|
|||||||
lastrdstime = rdstime;
|
lastrdstime = rdstime;
|
||||||
lasttimeoffset = timeoffset;
|
lasttimeoffset = timeoffset;
|
||||||
}
|
}
|
||||||
if (rdstime == lastrdstime + 60 && timeoffset == lasttimeoffset) {
|
if ((rdstime == lastrdstime + 60 && timeoffset == lasttimeoffset) || showrdserrors != 0) {
|
||||||
rds.hasCT = true;
|
rds.hasCT = true;
|
||||||
rds.time = rdstime;
|
rds.time = rdstime;
|
||||||
rds.offset = timeoffset;
|
rds.offset = timeoffset;
|
||||||
|
|||||||
Reference in New Issue
Block a user