mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 04:43:52 +01:00
clean up after dps
This commit is contained in:
@@ -46,8 +46,6 @@ void saveToFile(RDSEncoder *emp, const char *option) {
|
||||
tempEncoder.data[emp->program].ecc = emp->data[emp->program].ecc;
|
||||
} else if (strcmp(option, "TPS") == 0) {
|
||||
memcpy(tempEncoder.data[emp->program].tps, emp->data[emp->program].tps, PS_LENGTH);
|
||||
} else if (strcmp(option, "SPSPER") == 0) {
|
||||
tempEncoder.data[emp->program].static_ps_period = emp->data[emp->program].static_ps_period;
|
||||
} else if (strcmp(option, "LPS") == 0) {
|
||||
memcpy(tempEncoder.data[emp->program].lps, emp->data[emp->program].lps, LPS_LENGTH);
|
||||
} else if (strcmp(option, "GRPSEQ") == 0) {
|
||||
@@ -679,8 +677,6 @@ void set_rds_defaults(RDSEncoder* enc, uint8_t program) {
|
||||
|
||||
memset(enc->data[program].rt1, ' ', 59);
|
||||
|
||||
enc->data[program].static_ps_period = 10;
|
||||
|
||||
enc->data[program].rt_type = 2;
|
||||
|
||||
reset_rds_state(enc, program);
|
||||
|
||||
Reference in New Issue
Block a user