Also process PI when RDS block B is not present

This commit is contained in:
Sjef Verhoeven PE5PVB
2025-09-01 15:09:21 +02:00
parent 49eda9e5f8
commit 8408779394

View File

@@ -427,7 +427,7 @@ void TEF6686::readRDS(byte showrdserrors) {
}
if (((!rdsAerrorThreshold && !rdsBerrorThreshold && !rdsCerrorThreshold && !rdsDerrorThreshold) || (rds.pierrors && !errorfreepi))) {
if ((piold == 0 || rds.rdsA != piold) && rds.rdsB != 0) {
if (piold == 0 || rds.rdsA != piold) {
piold = rds.rdsA;
rds.picode[0] = (rds.rdsA >> 12) & 0xF;
rds.picode[1] = (rds.rdsA >> 8) & 0xF;