0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 04:43:52 +01:00
This commit is contained in:
2025-03-18 21:58:48 +01:00
parent 8a41a2ee62
commit d2f433e49a

View File

@@ -524,9 +524,9 @@ void process_ascii_cmd(RDSModulator* mod, char *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};
snprintf(option, sizeof(option), "%s", option_str);
snprintf(option, sizeof(option)-1, "%s", option_str);
saveToFile(mod->enc, option);
Modulator_saveToFile(&mod->params, option);
return;