From e8f4abc4607bce0f136fe5b67599f7c7b4deafc3 Mon Sep 17 00:00:00 2001 From: Sjef Verhoeven PE5PVB Date: Tue, 21 Nov 2023 14:45:34 +0100 Subject: [PATCH] Removed underscores in EON PS --- src/TEF6686.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TEF6686.cpp b/src/TEF6686.cpp index 29a770b..3de6678 100644 --- a/src/TEF6686.cpp +++ b/src/TEF6686.cpp @@ -1418,9 +1418,9 @@ void TEF6686::readRDS(byte showrdserrors) } if (offset > 3 && eon[position].pi == rds.rdsD) { // Last chars are received - RDScharConverter(eon_buffer[position], EONPStext[position], sizeof(EONPStext[position]) / sizeof(wchar_t), true); // Convert 8 bit ASCII to 16 bit ASCII + RDScharConverter(eon_buffer[position], EONPStext[position], sizeof(EONPStext[position]) / sizeof(wchar_t), false); // Convert 8 bit ASCII to 16 bit ASCII String utf8String = convertToUTF8(EONPStext[position]); // Convert RDS characterset to ASCII - eon[position].ps = extractUTF8Substring(utf8String, 0, 8, true); // Make sure PS does not exceed 8 characters + eon[position].ps = extractUTF8Substring(utf8String, 0, 8, false); // Make sure PS does not exceed 8 characters for (int j = 0; j < 9; j++) eon_buffer[position][j] = '\0'; // Clear buffer }