0
1
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:
2025-03-18 21:52:53 +01:00
parent f908ad160d
commit db0ab2861e

View File

@@ -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;