This commit is contained in:
Kuba 2024-01-19 18:12:11 +01:00 committed by GitHub
parent 6e867d353f
commit a1054d8449
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -389,12 +389,14 @@ void set_rds_rt(char *rt) {
strncpy(rds_params.rt, rt, 64);
for(int i=0; i<64; i++) {
if(rds_params.rt[i] == 0) rds_params.rt[i] = 32;
rds_params.rt[i] = rds_char_converter(rds_params.rt[i]);
}
}
void set_rds_ps(char *ps) {
strncpy(rds_params.ps, ps, 8);
for(int i=0; i<8; i++) {
rds_params.ps[i] = rds_char_converter(rds_params.ps[i]);
if(rds_params.ps[i] == 0) rds_params.ps[i] = 32;
}
}