0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 12:53:53 +01:00
This commit is contained in:
2025-03-22 21:51:22 +01:00
parent 59f0fa999f
commit 23eaf13c4f
2 changed files with 4 additions and 8 deletions

View File

@@ -741,14 +741,8 @@ void process_ascii_cmd(RDSModulator* mod, char *str) {
copy_len = sizeof(option) - 1;
memcpy(option, option_str, copy_len);
option[copy_len] = '\0';
if (strcmp(option, "RDSGEN") == 0 || strcmp(option, "LEVEL") == 0) {
Modulator_saveToFile(&mod->params, option);
} else {
saveToFile(mod->enc, option);
if (strcmp(option, "ALL") == 0) {
Modulator_saveToFile(&mod->params, option);
}
}
saveToFile(mod->enc, option);
Modulator_saveToFile(&mod->params, option);
return;
}