fix low PI RDS callsign decoding

pull/1315/head
AlexandreRouma 2024-01-30 22:18:18 +01:00
rodzic a9e59bdf3c
commit 4b6835141e
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -408,6 +408,11 @@ namespace rds {
rest /= 26;
}
// Pad with As
while (restStr.size() < 3) {
restStr += 'A';
}
// Reorder chars
for (int i = restStr.size() - 1; i >= 0; i--) {
callsign += restStr[i];