When AF sorting enabled number of following AF's is not needed.

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-11-30 15:53:24 +01:00
parent 208f7f2540
commit 5ad4614138

View File

@@ -623,7 +623,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) {
if (((rds.rdsC >> 8) > 224 && (rds.rdsC >> 8) < 250) || (rds.sortaf && (rds.rdsC >> 8) > 0 && (rds.rdsC >> 8) < 205)) {
afinit = true; // AF detected
rds.hasAF = true;
}