init loops after sensors (#2927)

This commit is contained in:
Matthew Kennedy 2021-07-08 16:33:42 -07:00 committed by GitHub
parent 18b34bec43
commit a7c355e982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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 */