From 728e7ffa79446f25450d7c91d1e2d2fdb159787a Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 21 Jan 2019 15:34:39 -0500 Subject: [PATCH] tiny spinning progress --- unit_tests/engine_test_helper.cpp | 2 +- unit_tests/tests/test_fasterEngineSpinningUp.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unit_tests/engine_test_helper.cpp b/unit_tests/engine_test_helper.cpp index 7f6be726ec..17df2bea7c 100644 --- a/unit_tests/engine_test_helper.cpp +++ b/unit_tests/engine_test_helper.cpp @@ -210,7 +210,7 @@ void setupSimpleTestEngineWithMaf(EngineTestHelper *eth, injection_mode_e inject ASSERT_NEAR( 70, engine->sensors.clt, EPS4D) << "CLT"; ASSERT_EQ( 0, readIfTriggerConfigChangedForUnitTest()) << "trigger #1"; - engineConfiguration->trigger.type = TT_ONE; + engineConfiguration->trigger.type = trigger; incrementGlobalConfigurationVersion(PASS_ENGINE_PARAMETER_SIGNATURE); ASSERT_EQ( 1, readIfTriggerConfigChangedForUnitTest()) << "trigger #2"; diff --git a/unit_tests/tests/test_fasterEngineSpinningUp.cpp b/unit_tests/tests/test_fasterEngineSpinningUp.cpp index 61833c5c39..d5278873e7 100644 --- a/unit_tests/tests/test_fasterEngineSpinningUp.cpp +++ b/unit_tests/tests/test_fasterEngineSpinningUp.cpp @@ -102,7 +102,7 @@ TEST(cranking, testFasterEngineSpinningUp60_2) { // turn on FasterEngineSpinUp mode engineConfiguration->bc.isFasterEngineSpinUpEnabled = true; - setupSimpleTestEngineWithMafAndTT_ONE_trigger(ð, IM_SEQUENTIAL); + setupSimpleTestEngineWithMaf(ð, IM_SEQUENTIAL, TT_TOOTHED_WHEEL_60_2); }