From ff0fee71eb0b60370b215b4fb8bb4e045055fd96 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 3 Feb 2019 09:20:36 -0500 Subject: [PATCH] refactoring: reducing code duplication --- unit_tests/engine_test_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /**