From 814f98cfc070db7e6ce86afa0446d38537f10576 Mon Sep 17 00:00:00 2001 From: Sjef Verhoeven PE5PVB Date: Wed, 22 Nov 2023 15:40:31 +0100 Subject: [PATCH] Small change in AF method B detector --- src/TEF6686.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TEF6686.cpp b/src/TEF6686.cpp index 3de6678..a815a13 100644 --- a/src/TEF6686.cpp +++ b/src/TEF6686.cpp @@ -658,7 +658,7 @@ void TEF6686::readRDS(byte showrdserrors) if ((rds.rdsC & 0xFF) > 0 && (rds.rdsC & 0xFF) < 205) buffer1 = (rds.rdsC & 0xFF) * 10 + 8750; else buffer1 = 0; if (((rds.rdsC >> 8) > 0 && (rds.rdsC >> 8) < 205) && (buffer0 == doubletestfreq || buffer1 == doubletestfreq)) doublecounter++; - if (doublecounter > 0) afmethodB = true; // If signed frequency also in the AF list, AF Method B detected + if (doublecounter > 1) afmethodB = true; // If signed frequency also appears more than once in the AF list, AF Method B detected if (afmethodBprobe && af_counterbcheck > af_counterb) afmethodBprobe = false; // If more than counter received disable probe flag