0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00

ts is tuff

This commit is contained in:
2025-12-22 21:58:19 +01:00
parent e7b4a79ce3
commit 50c8da6c8f

View File

@@ -697,10 +697,8 @@ void init_rds_encoder(RDSEncoder* enc) {
for(int i = 0; i < PROGRAMS; i++) set_rds_defaults(enc, i);
if (encoder_saved() && encoder_loadFromFile(enc)) lua_on_init();
else {
encoder_saveToFile(enc);
lua_on_init();
}
else if(!encoder_saved()) lua_on_init();
encoder_saveToFile(enc);
for(int i = 0; i < PROGRAMS; i++) reset_rds_state(enc, i);
}