Fixed bug where -B flag was shown in case station only transmits it's own frequency as AF

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-10-23 19:53:18 +02:00
parent bb3ac3eec0
commit 088d510fc5

View File

@@ -528,7 +528,7 @@ void TEF6686::readRDS(byte showrdserrors)
//AF decoder //AF decoder
if (rdsblock == 0 && rds.rdsC != rdsCold) { // Only when in GROUP 0A if (rdsblock == 0 && rds.rdsC != rdsCold) { // Only when in GROUP 0A
if ((rds.rdsC >> 8) > 224 && (rds.rdsC >> 8) < 250 && ((rds.rdsC & 0xFF) * 10 + 8750) == currentfreq) { if ((rds.rdsC >> 8) > 224 && (rds.rdsC >> 8) < 250 && ((rds.rdsC & 0xFF) * 10 + 8750) == currentfreq && rds.hasAF) {
afmethodB = true; // Check for AF method B afmethodB = true; // Check for AF method B
afmethodBprobe = true; afmethodBprobe = true;
af_updatecounter++; af_updatecounter++;