auto-sync
This commit is contained in:
parent
ae8dd3a9f9
commit
abdc02d7ac
|
@ -34,17 +34,23 @@ void setBmwE34(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
boardConfiguration->tunerStudioSerialSpeed = 38400;
|
boardConfiguration->tunerStudioSerialSpeed = 38400;
|
||||||
engineConfiguration->rpmHardLimit = 6000;
|
engineConfiguration->rpmHardLimit = 6000;
|
||||||
|
|
||||||
|
// setOperationMode(engineConfiguration, FOUR_STROKE_CAM_SENSOR);
|
||||||
|
// engineConfiguration->trigger.type = TT_ONE_PLUS_TOOTHED_WHEEL_60_2;
|
||||||
|
// engineConfiguration->injectionMode = IM_SEQUENTIAL;
|
||||||
|
// boardConfiguration->triggerInputPins[0] = GPIOC_6;
|
||||||
|
// boardConfiguration->triggerInputPins[1] = GPIOA_5;
|
||||||
|
|
||||||
setOperationMode(engineConfiguration, FOUR_STROKE_CAM_SENSOR);
|
setOperationMode(engineConfiguration, FOUR_STROKE_CAM_SENSOR);
|
||||||
engineConfiguration->trigger.type = TT_ONE_PLUS_TOOTHED_WHEEL_60_2;
|
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL_60_2;
|
||||||
|
engineConfiguration->injectionMode = IM_BATCH;
|
||||||
|
boardConfiguration->triggerInputPins[0] = GPIOA_5;
|
||||||
|
boardConfiguration->triggerInputPins[1] = GPIO_UNASSIGNED;
|
||||||
|
|
||||||
engineConfiguration->specs.cylindersCount = 6;
|
engineConfiguration->specs.cylindersCount = 6;
|
||||||
engineConfiguration->specs.displacement = 2.91;
|
engineConfiguration->specs.displacement = 2.91;
|
||||||
engineConfiguration->specs.firingOrder = FO_1_THEN_5_THEN_3_THEN_6_THEN_2_THEN_4;
|
engineConfiguration->specs.firingOrder = FO_1_THEN_5_THEN_3_THEN_6_THEN_2_THEN_4;
|
||||||
engineConfiguration->injectionMode = IM_SEQUENTIAL;
|
|
||||||
engineConfiguration->ignitionMode = IM_WASTED_SPARK;
|
engineConfiguration->ignitionMode = IM_WASTED_SPARK;
|
||||||
|
|
||||||
boardConfiguration->triggerInputPins[0] = GPIOC_6;
|
|
||||||
boardConfiguration->triggerInputPins[1] = GPIOA_5;
|
|
||||||
|
|
||||||
engineConfiguration->ignMathCalculateAtIndex = 15;
|
engineConfiguration->ignMathCalculateAtIndex = 15;
|
||||||
|
|
||||||
|
|
|
@ -510,7 +510,8 @@ void testTriggerDecoder(void) {
|
||||||
// lame duty cycle implementation!
|
// lame duty cycle implementation!
|
||||||
testTriggerDecoder2("ford aspire", FORD_ASPIRE_1996, 4, 0.5, 0.3841);
|
testTriggerDecoder2("ford aspire", FORD_ASPIRE_1996, 4, 0.5, 0.3841);
|
||||||
|
|
||||||
testTriggerDecoder2("bmw", BMW_E34, 0, 0.9750, 0.5167);
|
//testTriggerDecoder2("bmw", BMW_E34, 0, 0.9750, 0.5167);
|
||||||
|
testTriggerDecoder2("bmw", BMW_E34, 0, 0.4833, 0.0);
|
||||||
|
|
||||||
test1995FordInline6TriggerDecoder();
|
test1995FordInline6TriggerDecoder();
|
||||||
testMazdaMianaNbDecoder();
|
testMazdaMianaNbDecoder();
|
||||||
|
|
Loading…
Reference in New Issue