RDS data for XDRGTK changed to uppercase

Fix a init problem cuased by X-tal selector. Needs some additional work
This commit is contained in:
Sjef Verhoeven PE5PVB
2024-01-27 17:48:03 +01:00
parent dbf8cf61da
commit e473812904
3 changed files with 9 additions and 4 deletions
+5 -2
View File
@@ -429,8 +429,10 @@ void readRds() {
if (piState != RdsPiBuffer::STATE_INVALID) {
DataPrint ("P");
DataPrint (String(((radio.rds.rdsA >> 8) >> 4) & 0xF, HEX) + String((radio.rds.rdsA >> 8) & 0xF, HEX));
DataPrint (String(((radio.rds.rdsA) >> 4) & 0xF, HEX) + String((radio.rds.rdsA) & 0xF, HEX));
String PIcodeToSend;
PIcodeToSend = String(((radio.rds.rdsA >> 8) >> 4) & 0xF, HEX) + String((radio.rds.rdsA >> 8) & 0xF, HEX) + String(((radio.rds.rdsA) >> 4) & 0xF, HEX) + String((radio.rds.rdsA) & 0xF, HEX);
PIcodeToSend.toUpperCase();
DataPrint (PIcodeToSend);
while (piState != 0) {
DataPrint("?");
piState--;
@@ -438,6 +440,7 @@ void readRds() {
DataPrint ("\n");
}
}
XDRGTKRDS.toUpperCase();
DataPrint(XDRGTKRDS);
XDRGTKRDSold = XDRGTKRDS;
}