mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 04:43:52 +01:00
debug
This commit is contained in:
@@ -696,7 +696,10 @@ void set_rds_defaults(RDSEncoder* enc, uint8_t program) {
|
||||
void init_rds_encoder(RDSEncoder* enc) {
|
||||
for(int i = 0; i < PROGRAMS; i++) set_rds_defaults(enc, i);
|
||||
|
||||
if (encoder_loadFromFile(enc) == 1) lua_on_init();
|
||||
if (encoder_loadFromFile(enc)) {
|
||||
printf("Encoder file will be reinitialized.");
|
||||
lua_on_init();
|
||||
}
|
||||
encoder_saveToFile(enc);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user