mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-26 20:33:53 +01:00
fix error
This commit is contained in:
@@ -524,9 +524,9 @@ void process_ascii_cmd(RDSModulator* mod, char *str) {
|
||||
}
|
||||
|
||||
if (upper_str[0] == '*' && !strchr((const char*)upper_str, '=')) {
|
||||
upper_str++;
|
||||
char *upper_str_ptr = upper_str + 1;
|
||||
char option[32] = {0};
|
||||
snprintf(option, sizeof(option), "%s", (const char*)upper_str);
|
||||
snprintf(option, sizeof(option), "%s", (const char*)upper_str_ptr);
|
||||
saveToFile(mod->enc, option);
|
||||
Modulator_saveToFile(&mod->params, option);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user