Fixed a bug in PS error detection

This commit is contained in:
Sjef Verhoeven PE5PVB
2025-01-13 19:00:27 +01:00
parent dd8bae15c3
commit d0f630a32d
+1 -1
View File
@@ -602,7 +602,7 @@ void TEF6686::readRDS(byte showrdserrors) {
case RDS_GROUP_0B: case RDS_GROUP_0B:
{ {
//PS decoder //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 offset = rds.rdsB & 0x03; // Let's get the character offset for PS
switch (offset) { switch (offset) {