diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 0bc426875b..fe92448b7f 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -285,6 +285,9 @@ void runRusEfi(void) { runRusEfiWithConfig(); + // periodic events need to be initialized after fuel&spark pins to avoid a warning + initPeriodicEvents(PASS_ENGINE_PARAMETER_SIGNATURE); + runMainLoop(); } @@ -302,9 +305,6 @@ void runRusEfiWithConfig() { */ initHardware(); - // periodic events need to be initialized after fuel&spark pins to avoid a warning - initPeriodicEvents(PASS_ENGINE_PARAMETER_SIGNATURE); - #if EFI_FILE_LOGGING initMmcCard(); #endif /* EFI_FILE_LOGGING */