auto-sync

This commit is contained in:
rusEfi 2016-11-24 22:02:34 -05:00
parent 4f139668fb
commit 4957051ce6
3 changed files with 5 additions and 3 deletions

View File

@ -33,12 +33,14 @@ void setMazdaMiata2003EngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
// boardConfiguration->fuelPumpPin = GPIOD_5; // todo: rewire my board to default E_4
// set_global_trigger_offset_angle 670
engineConfiguration->globalTriggerAngleOffset = 670;
// enable trigger_details
engineConfiguration->isPrintTriggerSynchDetails = false;
// todo: change to 15?
// set_cranking_timing_angle 3
// set_cranking_timing_angle 0
engineConfiguration->crankingTimingAngle = 3;
// set_cranking_fuel 9
engineConfiguration->cranking.baseFuel = 9;

View File

@ -57,7 +57,7 @@ void initializeMazdaMiataNb2Crank(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) {
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 * 60.0f, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
s->addEvent2(o + 4 * 136.0f, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);

View File

@ -290,5 +290,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 20161123;
return 20161124;
}