Fix tickers

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-05-25 00:04:02 +02:00
parent 3b1eed6e07
commit 2b4be9f8cd
3 changed files with 145 additions and 118 deletions

View File

@@ -1571,6 +1571,7 @@ void TEF6686::readRDS(byte showrdserrors) {
RDScharConverter(pslong_buffer, PSLongtext, sizeof(PSLongtext) / sizeof(wchar_t), true); // Convert 8 bit ASCII to 16 bit ASCII
String utf8String = convertToUTF8(PSLongtext); // Convert RDS characterset to ASCII
rds.stationNameLong = extractUTF8Substring(utf8String, 0, endmarkerLPS, true); // Make sure PS Long does not exceed 32 characters
rds.stationNameLong = trimTrailingSpaces(rds.stationNameLong);
}
}