0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 12:53:53 +01:00

source code formatting

This commit is contained in:
2025-03-25 13:26:32 +01:00
parent dfc29e2b55
commit ecbca33efe
4 changed files with 10 additions and 11 deletions

View File

@@ -86,12 +86,11 @@ uint8_t add_rds_af(RDSAFs *af_list, float freq) {
return 0;
}
#define XLATSTRLEN 255
char *xlat(char *str) {
static char new_str[XLATSTRLEN];
char *convert_to_rds_charset(char *str) {
static char new_str[255];
uint8_t i = 0;
while (*str != 0 && i < XLATSTRLEN) {
while (*str != 0 && i < 255) {
switch (*str) {
case 0xc2:
str++;