progress #363
This commit is contained in:
parent
ae1f905c92
commit
c370e4fddf
|
@ -207,7 +207,6 @@ void setHondaAccordConfiguration1_24_shifted(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void setHondaCivic4_0_both(DECLARE_ENGINE_PARAMETER_F) {
|
void setHondaCivic4_0_both(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
setHondaAccordConfiguration1_24_shifted(PASS_ENGINE_PARAMETER_F);
|
setHondaAccordConfiguration1_24_shifted(PASS_ENGINE_PARAMETER_F);
|
||||||
|
|
||||||
|
@ -217,3 +216,13 @@ void setHondaCivic4_0_both(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
|
|
||||||
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL;
|
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void setHondaCivic4_0_rise(DECLARE_ENGINE_PARAMETER_F) {
|
||||||
|
setHondaAccordConfiguration1_24_shifted(PASS_ENGINE_PARAMETER_F);
|
||||||
|
|
||||||
|
engineConfiguration->useOnlyRisingEdgeForTrigger = true;
|
||||||
|
engineConfiguration->trigger.customTotalToothCount = 4;
|
||||||
|
engineConfiguration->trigger.customSkippedToothCount = 0;
|
||||||
|
|
||||||
|
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL;
|
||||||
|
}
|
||||||
|
|
|
@ -914,8 +914,12 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_EN
|
||||||
case MIATA_NA_1_6:
|
case MIATA_NA_1_6:
|
||||||
setMiataNA_1_6_Configuration(PASS_ENGINE_PARAMETER_F);
|
setMiataNA_1_6_Configuration(PASS_ENGINE_PARAMETER_F);
|
||||||
break;
|
break;
|
||||||
case TEST_CIVIC_4_0_RISE:
|
|
||||||
case TEST_CIVIC_4_0_BOTH:
|
case TEST_CIVIC_4_0_BOTH:
|
||||||
|
setHondaCivic4_0_both(PASS_ENGINE_PARAMETER_F);
|
||||||
|
break;
|
||||||
|
case TEST_CIVIC_4_0_RISE:
|
||||||
|
setHondaCivic4_0_rise(PASS_ENGINE_PARAMETER_F);
|
||||||
|
break;
|
||||||
case HONDA_ACCORD_CD_TWO_WIRES:
|
case HONDA_ACCORD_CD_TWO_WIRES:
|
||||||
setHondaAccordConfiguration1_24(PASS_ENGINE_PARAMETER_F);
|
setHondaAccordConfiguration1_24(PASS_ENGINE_PARAMETER_F);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -489,6 +489,9 @@ void testTriggerDecoder(void) {
|
||||||
test1995FordInline6TriggerDecoder();
|
test1995FordInline6TriggerDecoder();
|
||||||
testTriggerDecoder2("Miata NB", MAZDA_MIATA_NB1, 12, 0.0833, 0.0444);
|
testTriggerDecoder2("Miata NB", MAZDA_MIATA_NB1, 12, 0.0833, 0.0444);
|
||||||
|
|
||||||
|
testTriggerDecoder2("Civic 4/0 both", TEST_CIVIC_4_0_BOTH, 0, 0.5000, 0.0);
|
||||||
|
testTriggerDecoder2("Civic 4/0 rise", TEST_CIVIC_4_0_RISE, 0, 0.0000, 0.0);
|
||||||
|
|
||||||
testTriggerDecoder2("test engine", TEST_ENGINE, 0, 0.7500, 0.2500);
|
testTriggerDecoder2("test engine", TEST_ENGINE, 0, 0.7500, 0.2500);
|
||||||
testTriggerDecoder2("testGY6_139QMB", GY6_139QMB, 0, 0.4375, 0.0);
|
testTriggerDecoder2("testGY6_139QMB", GY6_139QMB, 0, 0.4375, 0.0);
|
||||||
testTriggerDecoder2("testSubary", SUBARU_2003_WRX, 0, 0.4000, 0.0);
|
testTriggerDecoder2("testSubary", SUBARU_2003_WRX, 0, 0.4000, 0.0);
|
||||||
|
|
Loading…
Reference in New Issue