auto-sync
This commit is contained in:
parent
46479c23c5
commit
a443bd7ed2
|
@ -167,7 +167,7 @@ static void commonMiataNa(DECLARE_ENGINE_PARAMETER_F) {
|
|||
|
||||
void common079721_2351(engine_configuration_s *engineConfiguration, board_configuration_s *boardConfiguration) {
|
||||
|
||||
engineConfiguration->engineChartSize = 150;
|
||||
engineConfiguration->engineChartSize = 300;
|
||||
|
||||
engineConfiguration->specs.cylindersCount = 4;
|
||||
engineConfiguration->specs.firingOrder = FO_1_3_4_2;
|
||||
|
|
|
@ -37,8 +37,7 @@ TriggerShape::TriggerShape() :
|
|||
wave(switchTimesBuffer, NULL) {
|
||||
initialize(OM_NONE, false);
|
||||
wave.waves = h.waves;
|
||||
// todo: false here, true in clear() what a mess!
|
||||
useRiseEdge = false;
|
||||
|
||||
useOnlyPrimaryForSync = false;
|
||||
isSynchronizationNeeded = false;
|
||||
// todo: reuse 'clear' method?
|
||||
|
@ -117,7 +116,6 @@ void TriggerShape::initialize(operation_mode_e operationMode, bool needSecondTri
|
|||
|
||||
|
||||
tdcPosition = 0;
|
||||
// todo: true here, false in constructor() what a mess!
|
||||
useRiseEdge = true;
|
||||
|
||||
invertOnAdd = false;
|
||||
|
@ -373,8 +371,6 @@ void setVwConfiguration(TriggerShape *s) {
|
|||
efiAssertVoid(s != NULL, "TriggerShape is NULL");
|
||||
operation_mode_e operationMode = FOUR_STROKE_CRANK_SENSOR;
|
||||
|
||||
s->useRiseEdge = true;
|
||||
|
||||
s->initialize(operationMode, false);
|
||||
|
||||
s->isSynchronizationNeeded = true;
|
||||
|
|
Loading…
Reference in New Issue