This commit is contained in:
2025-12-22 22:14:26 +01:00
parent b0be734899
commit 76ae84ba92
+1 -1
View File
@@ -694,8 +694,8 @@ void set_rds_defaults(RDSEncoder* enc, uint8_t program) {
}
void init_rds_encoder(RDSEncoder* enc) {
memset(enc, 0, sizeof(RDSEncoder));
for(int i = 0; i < PROGRAMS; i++) set_rds_defaults(enc, i);
enc->program = 0;
if (encoder_loadFromFile(enc)) {
printf("Encoder file will be reinitialized.\n");