auto-sync
This commit is contained in:
parent
60193cd6a3
commit
2836a0849a
|
@ -49,34 +49,30 @@ void initialize36_2_2_2(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) {
|
|||
void initializeSubaru7_6(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) {
|
||||
s->initialize(FOUR_STROKE_CAM_SENSOR, false);
|
||||
|
||||
float t2 = 25;
|
||||
float t3 = 15;
|
||||
float width = 5;
|
||||
|
||||
s->addEvent2(180 - width / 2, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(180, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(25 - width, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(25, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
|
||||
s->addEvent2(360 - t2 - width / 2, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(360 - t2, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(182 - width, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(182, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
|
||||
s->addEvent2(360 - width / 2, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(360, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(343 - width, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(343, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
|
||||
s->addEvent2(540 - width / 2, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(540, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(366 - width, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(366, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
|
||||
s->addEvent2(384 - width, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(384, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
|
||||
s->addEvent2(720 - 2 * t3 - width / 2, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(720 - 2 * t3, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(538 - width, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(538, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
|
||||
s->addEvent2(720 - t3 - width / 2, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(720 - t3, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
|
||||
|
||||
s->addEvent2(720 - width / 2, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(720 - width, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||
s->addEvent2(720, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||
|
||||
s->setTriggerSynchronizationGap(12);
|
||||
s->setTriggerSynchronizationGap2(7, 9);
|
||||
|
||||
s->isSynchronizationNeeded = true;
|
||||
|
||||
|
|
|
@ -249,5 +249,5 @@ int getRusEfiVersion(void) {
|
|||
return 123; // this is here to make the compiler happy about the unused array
|
||||
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
||||
return 3211; // this is here to make the compiler happy about the unused array
|
||||
return 20170105;
|
||||
return 20170107;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue