This commit is contained in:
2025-12-24 10:54:54 +01:00
parent 979817b292
commit 8bc35536c5
4 changed files with 11 additions and 9 deletions
+2 -1
View File
@@ -381,8 +381,9 @@ void init_rds_encoder(RDSEncoder* enc) {
if (encoder_loadFromFile(enc)) {
printf("Encoder file will be reinitialized.\n");
lua_on_init();
lua_call_function("on_init");
}
encoder_saveToFile(enc);
for(int i = 0; i < PROGRAMS; i++) reset_rds_state(enc, i);
lua_call_function("on_start");
}