- No AF when screen is muted
- No edge beep when screen is muted.
This commit is contained in:
Sjef Verhoeven PE5PVB
2023-08-15 22:29:44 +02:00
parent da19a3d164
commit 6ae1a0266a
2 changed files with 55 additions and 55 deletions

View File

@@ -386,7 +386,7 @@ void TEF6686::readRDS(bool showrdserrors)
afreset = false;
}
if (rds.region != 1 && (!rds.rdsAerror || (rds.pierrors && !errorfreepi))) {
if (rds.region != 1 && ((!rds.rdsAerror && !rds.rdsBerror && !rds.rdsCerror && !rds.rdsDerror) || (rds.pierrors && !errorfreepi))) {
if (rds.rdsA != piold) {
piold = rds.rdsA;
rds.picode[0] = (rds.rdsA >> 12) & 0xF;
@@ -402,7 +402,7 @@ void TEF6686::readRDS(bool showrdserrors)
}
}
if (!rds.rdsAerror) errorfreepi = true;
if (!rds.rdsAerror && !rds.rdsBerror && !rds.rdsCerror && !rds.rdsDerror) errorfreepi = true;
if (!errorfreepi) {
if (((rds.rdsErr >> 14) & 0x03) > 2) rds.picode[5] = '?'; else rds.picode[5] = ' ';