docs
This commit is contained in:
parent
e2091bbbc8
commit
eec142390a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue