Add PTY code number to PTY

This commit is contained in:
Sjef Verhoeven PE5PVB
2025-01-28 16:41:30 +01:00
parent 8be223186e
commit 08fced7eec

View File

@@ -637,7 +637,8 @@ void showPI() {
void showPTY() {
if (strcmp(radio.rds.stationType, programTypePrevious)) {
String PTYString = (radio.rds.region == 1 ? radio.rds.stationType : myLanguage[language][228 + radio.rds.stationTypeCode]);
String PTYString = String(radio.rds.stationTypeCode) + ": " + (radio.rds.region == 1 ? radio.rds.stationType : myLanguage[language][228 + radio.rds.stationTypeCode]);
if (radio.rds.stationTypeCode == 32) PTYString = "";
if (!screenmute) {