From eec142390a4af929df2c78020815dcbc8e0e7029 Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 14 Jan 2019 12:59:57 -0500 Subject: [PATCH] docs --- unit_tests/engine_test_helper.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/unit_tests/engine_test_helper.cpp b/unit_tests/engine_test_helper.cpp index 932c86cdf9..66e48b79d2 100644 --- a/unit_tests/engine_test_helper.cpp +++ b/unit_tests/engine_test_helper.cpp @@ -78,11 +78,17 @@ EngineTestHelper::EngineTestHelper(engine_type_e engineType) : engine (&persiste resetTriggerConfigChangedForUnitTest(); } +/** + * mock a change of time and fire single RISE front event + */ void EngineTestHelper::fireRise(int delayMs) { moveTimeForwardUs(MS2US(delayMs)); firePrimaryTriggerRise(); } +/** + * fire single RISE front event + */ void EngineTestHelper::firePrimaryTriggerRise() { board_configuration_s * boardConfiguration = &engine.engineConfigurationPtr->bc; engine.triggerCentral.handleShaftSignal(SHAFT_PRIMARY_RISING, &engine, engine.engineConfigurationPtr, &persistentConfig, boardConfiguration);