auto-sync
This commit is contained in:
parent
25ef6a80e8
commit
ce878b8a28
|
@ -899,6 +899,10 @@ void prepareShapes(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
engine_configuration2_s *engineConfiguration2 = engine->engineConfiguration2;
|
engine_configuration2_s *engineConfiguration2 = engine->engineConfiguration2;
|
||||||
prepareOutputSignals(PASS_ENGINE_PARAMETER_F);
|
prepareOutputSignals(PASS_ENGINE_PARAMETER_F);
|
||||||
|
|
||||||
|
engineConfiguration2->injectionEvents->addFuelEvents(
|
||||||
|
engineConfiguration->crankingInjectionMode PASS_ENGINE_PARAMETER);
|
||||||
|
|
||||||
|
|
||||||
// todo: looks like this is here only for unit tests. todo: remove
|
// todo: looks like this is here only for unit tests. todo: remove
|
||||||
initializeIgnitionActions(0, 0, &engineConfiguration2->ignitionEvents[0] PASS_ENGINE_PARAMETER);
|
initializeIgnitionActions(0, 0, &engineConfiguration2->ignitionEvents[0] PASS_ENGINE_PARAMETER);
|
||||||
}
|
}
|
||||||
|
|
|
@ -407,8 +407,6 @@ void prepareOutputSignals(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
TRIGGER_SHAPE(triggerIndexByAngle[angle]) = triggerShapeIndex;
|
TRIGGER_SHAPE(triggerIndexByAngle[angle]) = triggerShapeIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
engineConfiguration2->injectionEvents->addFuelEvents(
|
|
||||||
engineConfiguration->crankingInjectionMode PASS_ENGINE_PARAMETER);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue