Merge pull request #1315 from AlexandreRouma/master

keep new_sinks branch up to date
This commit is contained in:
AlexandreRouma
2024-02-02 14:51:34 +01:00
committed by GitHub
16 changed files with 1297 additions and 3 deletions

View File

@ -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];