diff --git a/unit_tests/engine_test_helper.cpp b/unit_tests/engine_test_helper.cpp index bfc50e45b1..0d1cb7c238 100644 --- a/unit_tests/engine_test_helper.cpp +++ b/unit_tests/engine_test_helper.cpp @@ -74,7 +74,7 @@ EngineTestHelper::EngineTestHelper(engine_type_e engineType) : engine (&persiste engine->initializeTriggerShape(NULL PASS_ENGINE_PARAMETER_SUFFIX); initRpmCalculator(NULL PASS_ENGINE_PARAMETER_SUFFIX); - engine->triggerCentral.addEventListener(mainTriggerCallback, "main loop", engine); + initMainEventListener(NULL PASS_ENGINE_PARAMETER_SUFFIX); } /**