From 088d510fc524c666f7e8fa7a265630ae8a69533e Mon Sep 17 00:00:00 2001 From: Sjef Verhoeven PE5PVB Date: Mon, 23 Oct 2023 19:53:18 +0200 Subject: [PATCH] Fixed bug where -B flag was shown in case station only transmits it's own frequency as AF --- src/TEF6686.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TEF6686.cpp b/src/TEF6686.cpp index 66a40af..63efade 100644 --- a/src/TEF6686.cpp +++ b/src/TEF6686.cpp @@ -528,7 +528,7 @@ void TEF6686::readRDS(byte showrdserrors) //AF decoder 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 afmethodBprobe = true; af_updatecounter++;