progress: rpm register based on trigger input being none or not (helping unit tests)

This commit is contained in:
rusefillc 2022-10-21 22:25:05 -04:00
parent 3abed33988
commit 17e340622b
1 changed files with 4 additions and 0 deletions

View File

@ -471,6 +471,10 @@ void commonInitEngineController() {
initLaunchControl(); initLaunchControl();
#endif #endif
#if EFI_UNIT_TEST
engine->rpmCalculator.Register();
#endif /* EFI_UNIT_TEST */
#if (EFI_ENGINE_CONTROL && EFI_SHAFT_POSITION_INPUT) || EFI_SIMULATOR || EFI_UNIT_TEST #if (EFI_ENGINE_CONTROL && EFI_SHAFT_POSITION_INPUT) || EFI_SIMULATOR || EFI_UNIT_TEST
if (engineConfiguration->isEngineControlEnabled) { if (engineConfiguration->isEngineControlEnabled) {
initAuxValves(); initAuxValves();