kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
fix low PI RDS callsign decoding
rodzic
a9e59bdf3c
commit
4b6835141e
|
@ -408,6 +408,11 @@ namespace rds {
|
||||||
rest /= 26;
|
rest /= 26;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Pad with As
|
||||||
|
while (restStr.size() < 3) {
|
||||||
|
restStr += 'A';
|
||||||
|
}
|
||||||
|
|
||||||
// Reorder chars
|
// Reorder chars
|
||||||
for (int i = restStr.size() - 1; i >= 0; i--) {
|
for (int i = restStr.size() - 1; i >= 0; i--) {
|
||||||
callsign += restStr[i];
|
callsign += restStr[i];
|
||||||
|
|
Ładowanie…
Reference in New Issue