mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 12:53:53 +01:00
bro
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, '=')) {
|
if (upper_str[0] == '*' && !strchr((const char*)upper_str, '=')) {
|
||||||
const char* option_str = upper_str + 1; // Create a new pointer to the character after '*'
|
const char* option_str = upper_str + 1;
|
||||||
char option[32] = {0};
|
char option[32] = {0};
|
||||||
snprintf(option, sizeof(option), "%s", option_str);
|
snprintf(option, sizeof(option)-1, "%s", option_str);
|
||||||
saveToFile(mod->enc, option);
|
saveToFile(mod->enc, option);
|
||||||
Modulator_saveToFile(&mod->params, option);
|
Modulator_saveToFile(&mod->params, option);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user