auto-sync

This commit is contained in:
rusEfi 2016-01-03 09:02:27 -05:00
parent d2eb37c2f6
commit 38f88243db
2 changed files with 5 additions and 3 deletions

View File

@ -103,7 +103,7 @@ void setCustomEngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
boardConfiguration->ignitionPins[0] = GPIOE_14;
boardConfiguration->ignitionPins[1] = GPIOC_9;
boardConfiguration->ignitionPins[2] = GPIOC_7;
boardConfiguration->ignitionPins[3] = GPIO_UNASSIGNED; // todo: update this value
boardConfiguration->ignitionPins[3] = GPIOE_10;
#endif
// todo: 8.2 or 10k?

View File

@ -39,8 +39,10 @@ void setMazda626EngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
engineConfiguration->injector.flow = 330;
engineConfiguration->specs.displacement = 2.0;
// set_global_trigger_offset_angle 282
engineConfiguration->globalTriggerAngleOffset = 282;
// set_global_trigger_offset_angle 284
engineConfiguration->globalTriggerAngleOffset = 284;
// set_ignition_mode 2
engineConfiguration->ignitionMode = IM_WASTED_SPARK;
// set_cranking_timing_angle 15
engineConfiguration->crankingTimingAngle = 8;