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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user