subi
This commit is contained in:
parent
f2bb2ce0c6
commit
7f65e95a65
|
@ -35,14 +35,6 @@ void setSubaru2003Wrx(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
engineConfiguration->triggerSimulatorPins[2] = GPIO_UNASSIGNED;
|
||||
}
|
||||
|
||||
/*
|
||||
* Subaru WRX <=1996 Turbo.
|
||||
*/
|
||||
|
||||
void setSubaruEJ20GDefaults(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
engineConfiguration->trigger.type = TT_SUBARU_7_6;
|
||||
}
|
||||
|
||||
/**
|
||||
* MRE_SUBARU_EJ18
|
||||
* set engine_type 37
|
||||
|
@ -52,4 +44,14 @@ void setSubaruEJ18_MRE(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
|
||||
CONFIG(isDoubleSolenoidIdle) = true;
|
||||
|
||||
engineConfiguration->specs.displacement = 1.8;
|
||||
strcpy(CONFIG(engineMake), ENGINE_MAKE_SUBARU);
|
||||
strcpy(CONFIG(engineCode), "EJ18");
|
||||
|
||||
engineConfiguration->specs.firingOrder = FO_1_3_2_4;
|
||||
|
||||
// TLE8888_PIN_23: "33 - GP Out 3"
|
||||
engineConfiguration->malfunctionIndicatorPin = TLE8888_PIN_23;
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1183,6 +1183,7 @@ void resetConfigurationExt(Logging * logger, configuration_callback_t boardCallb
|
|||
case TEST_ENGINE:
|
||||
setTestEngineConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
break;
|
||||
case SUBARUEJ20G_DEFAULTS:
|
||||
case MRE_SUBARU_EJ18:
|
||||
setSubaruEJ18_MRE(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
break;
|
||||
|
@ -1346,9 +1347,6 @@ void resetConfigurationExt(Logging * logger, configuration_callback_t boardCallb
|
|||
case MAZDA_MIATA_2003_BOARD_TEST:
|
||||
setMazdaMiata2003EngineConfigurationBoardTest(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
break;
|
||||
case SUBARUEJ20G_DEFAULTS:
|
||||
setSubaruEJ20GDefaults(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
break;
|
||||
case TEST_ENGINE_VVT:
|
||||
setTestVVTEngineConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue