auto-sync
This commit is contained in:
parent
4f139668fb
commit
4957051ce6
|
@ -33,12 +33,14 @@ void setMazdaMiata2003EngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
|
|
||||||
// boardConfiguration->fuelPumpPin = GPIOD_5; // todo: rewire my board to default E_4
|
// boardConfiguration->fuelPumpPin = GPIOD_5; // todo: rewire my board to default E_4
|
||||||
|
|
||||||
|
// set_global_trigger_offset_angle 670
|
||||||
|
engineConfiguration->globalTriggerAngleOffset = 670;
|
||||||
|
|
||||||
// enable trigger_details
|
// enable trigger_details
|
||||||
engineConfiguration->isPrintTriggerSynchDetails = false;
|
engineConfiguration->isPrintTriggerSynchDetails = false;
|
||||||
|
|
||||||
// todo: change to 15?
|
// todo: change to 15?
|
||||||
// set_cranking_timing_angle 3
|
// set_cranking_timing_angle 0
|
||||||
engineConfiguration->crankingTimingAngle = 3;
|
engineConfiguration->crankingTimingAngle = 3;
|
||||||
// set_cranking_fuel 9
|
// set_cranking_fuel 9
|
||||||
engineConfiguration->cranking.baseFuel = 9;
|
engineConfiguration->cranking.baseFuel = 9;
|
||||||
|
|
|
@ -57,7 +57,7 @@ void initializeMazdaMiataNb2Crank(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) {
|
||||||
|
|
||||||
s->tdcPosition = 60;
|
s->tdcPosition = 60;
|
||||||
|
|
||||||
s->setTriggerSynchronizationGap2(0.75f, 0.98f);
|
s->setTriggerSynchronizationGap2(0.35f, 0.98f);
|
||||||
s->addEvent2(o + 4 * 56.0f, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
s->addEvent2(o + 4 * 56.0f, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||||
s->addEvent2(o + 4 * 60.0f, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
s->addEvent2(o + 4 * 60.0f, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
|
||||||
s->addEvent2(o + 4 * 136.0f, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
s->addEvent2(o + 4 * 136.0f, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
|
||||||
|
|
|
@ -290,5 +290,5 @@ int getRusEfiVersion(void) {
|
||||||
return 123; // this is here to make the compiler happy about the unused array
|
return 123; // this is here to make the compiler happy about the unused array
|
||||||
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
||||||
return 3211; // this is here to make the compiler happy about the unused array
|
return 3211; // this is here to make the compiler happy about the unused array
|
||||||
return 20161123;
|
return 20161124;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue