From d0f630a32d66ed0b17268dd4910223fea7c02f70 Mon Sep 17 00:00:00 2001 From: Sjef Verhoeven PE5PVB Date: Mon, 13 Jan 2025 19:00:27 +0100 Subject: [PATCH] Fixed a bug in PS error detection --- src/TEF6686.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TEF6686.cpp b/src/TEF6686.cpp index 4cc1918..0c34fe6 100644 --- a/src/TEF6686.cpp +++ b/src/TEF6686.cpp @@ -602,7 +602,7 @@ void TEF6686::readRDS(byte showrdserrors) { case RDS_GROUP_0B: { //PS decoder - if (showrdserrors == 3 || (!rdsBerrorThreshold && ((rds.rdsErr >> 8) & 0x03) < 3)) { + if (showrdserrors == 3 || (!rdsBerrorThreshold && (!rdsDerrorThreshold))) { offset = rds.rdsB & 0x03; // Let's get the character offset for PS switch (offset) {