auto-sync
This commit is contained in:
parent
d7504604c2
commit
7b1eec8142
|
@ -38,6 +38,7 @@ void setBmwE34(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
engineConfiguration->injectionMode = IM_BATCH;
|
engineConfiguration->injectionMode = IM_BATCH;
|
||||||
engineConfiguration->twoWireBatch = true;
|
engineConfiguration->twoWireBatch = true;
|
||||||
engineConfiguration->ignitionMode = IM_WASTED_SPARK;
|
engineConfiguration->ignitionMode = IM_WASTED_SPARK;
|
||||||
|
engineConfiguration->useOnlyFrontForTrigger = true;
|
||||||
|
|
||||||
// Trigger configuration
|
// Trigger configuration
|
||||||
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL_60_2;
|
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL_60_2;
|
||||||
|
@ -59,7 +60,7 @@ void setBmwE34(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
engineConfiguration->isIgnitionEnabled = true;
|
engineConfiguration->isIgnitionEnabled = true;
|
||||||
|
|
||||||
setConstantDwell(3 PASS_ENGINE_PARAMETER); // a bit shorter dwell
|
setConstantDwell(3 PASS_ENGINE_PARAMETER); // a bit shorter dwell
|
||||||
engineConfiguration->ignMathCalculateAtIndex = 15;
|
engineConfiguration->ignMathCalculateAtIndex = 14;
|
||||||
|
|
||||||
// Cranking
|
// Cranking
|
||||||
engineConfiguration->cranking.rpm = 600;
|
engineConfiguration->cranking.rpm = 600;
|
||||||
|
|
|
@ -113,7 +113,7 @@ void TriggerState::decodeTriggerEvent(trigger_event_e const signal, uint64_t now
|
||||||
|
|
||||||
trigger_wheel_e triggerWheel = eventIndex[signal];
|
trigger_wheel_e triggerWheel = eventIndex[signal];
|
||||||
|
|
||||||
if (curSignal == prevSignal) {
|
if (!engineConfiguration->useOnlyFrontForTrigger && curSignal == prevSignal) {
|
||||||
orderingErrorCounter++;
|
orderingErrorCounter++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -511,7 +511,7 @@ void testTriggerDecoder(void) {
|
||||||
testTriggerDecoder2("ford aspire", FORD_ASPIRE_1996, 4, 0.0, 0.5);
|
testTriggerDecoder2("ford aspire", FORD_ASPIRE_1996, 4, 0.0, 0.5);
|
||||||
|
|
||||||
//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);
|
testTriggerDecoder2("bmw", BMW_E34, 0, 0.5167, 0.0);
|
||||||
|
|
||||||
test1995FordInline6TriggerDecoder();
|
test1995FordInline6TriggerDecoder();
|
||||||
testMazdaMianaNbDecoder();
|
testMazdaMianaNbDecoder();
|
||||||
|
|
Loading…
Reference in New Issue