auto-sync
This commit is contained in:
parent
911e4d19a4
commit
1e1b4de2e4
|
@ -23,8 +23,6 @@ void setMazdaMiataNb1EngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
|
|
||||||
engineConfiguration->trigger.type = TT_MAZDA_MIATA_NB1;
|
engineConfiguration->trigger.type = TT_MAZDA_MIATA_NB1;
|
||||||
|
|
||||||
engineConfiguration->globalTriggerAngleOffset = 276;
|
|
||||||
|
|
||||||
// set_cranking_injection_mode 0
|
// set_cranking_injection_mode 0
|
||||||
engineConfiguration->crankingInjectionMode = IM_SIMULTANEOUS;
|
engineConfiguration->crankingInjectionMode = IM_SIMULTANEOUS;
|
||||||
// set_injection_mode 1
|
// set_injection_mode 1
|
||||||
|
|
|
@ -55,6 +55,8 @@ void initializeMazdaMiataNb2Crank(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) {
|
||||||
|
|
||||||
float o = 160;
|
float o = 160;
|
||||||
|
|
||||||
|
s->tdcPosition = 60;
|
||||||
|
|
||||||
s->setTriggerSynchronizationGap(1.57f);
|
s->setTriggerSynchronizationGap(1.57f);
|
||||||
s->addEvent2(o + 4 * 66.0f, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
s->addEvent2(o + 4 * 66.0f, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||||
s->addEvent2(o + 4 * 70.0f, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
s->addEvent2(o + 4 * 70.0f, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||||
|
@ -68,6 +70,7 @@ static void initializeMazdaMiataNb1ShapeWithOffset(TriggerShape *s, float offset
|
||||||
s->useRiseEdge = false;
|
s->useRiseEdge = false;
|
||||||
|
|
||||||
s->invertOnAdd = true;
|
s->invertOnAdd = true;
|
||||||
|
s->tdcPosition = 276;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cam sensor is primary, crank sensor is secondary
|
* cam sensor is primary, crank sensor is secondary
|
||||||
|
|
Loading…
Reference in New Issue