diff --git a/firmware/config/engines/custom_engine.cpp b/firmware/config/engines/custom_engine.cpp index 27214beff8..89ec44e3f5 100644 --- a/firmware/config/engines/custom_engine.cpp +++ b/firmware/config/engines/custom_engine.cpp @@ -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? diff --git a/firmware/config/engines/mazda_626.cpp b/firmware/config/engines/mazda_626.cpp index ad0a4f8941..a4793474b9 100644 --- a/firmware/config/engines/mazda_626.cpp +++ b/firmware/config/engines/mazda_626.cpp @@ -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;