From a1054d8449fa6f595a89f06dd4eb05bfe18c4ec1 Mon Sep 17 00:00:00 2001 From: Kuba <132459354+KubaPro010@users.noreply.github.com> Date: Fri, 19 Jan 2024 18:12:11 +0100 Subject: [PATCH] charset? --- src/pifmrds/rds.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pifmrds/rds.c b/src/pifmrds/rds.c index 2b5d77e..81f9ca0 100644 --- a/src/pifmrds/rds.c +++ b/src/pifmrds/rds.c @@ -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; } }