Improve default H64 tune #2709
This commit is contained in:
parent
0cd7851c7d
commit
0cb4705a7e
|
@ -36,6 +36,11 @@ static void setInjectorPins() {
|
||||||
}
|
}
|
||||||
|
|
||||||
engineConfiguration->injectionPinMode = OM_DEFAULT;
|
engineConfiguration->injectionPinMode = OM_DEFAULT;
|
||||||
|
|
||||||
|
engineConfiguration->clutchDownPin = GPIOC_4; // Clutch switch input
|
||||||
|
engineConfiguration->clutchDownPinMode = PI_PULLDOWN;
|
||||||
|
engineConfiguration->launchActivationMode = CLUTCH_INPUT_LAUNCH;
|
||||||
|
engineConfiguration->malfunctionIndicatorPin = GPIOG_4; //1E - Check Engine Light
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setIgnitionPins() {
|
static void setIgnitionPins() {
|
||||||
|
|
|
@ -152,6 +152,10 @@ static void miataNAcommonEngineSettings(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
engineConfiguration->specs.cylindersCount = 4;
|
engineConfiguration->specs.cylindersCount = 4;
|
||||||
engineConfiguration->specs.firingOrder = FO_1_3_4_2;
|
engineConfiguration->specs.firingOrder = FO_1_3_4_2;
|
||||||
engineConfiguration->compressionRatio = 9.1;
|
engineConfiguration->compressionRatio = 9.1;
|
||||||
|
engineConfiguration->cranking.rpm = 450;
|
||||||
|
engineConfiguration->cylinderBore = 78;
|
||||||
|
engineConfiguration->knockBandCustom = 6.8;
|
||||||
|
engineConfiguration->vehicleWeight = 950;
|
||||||
|
|
||||||
engineConfiguration->debugMode = DBG_TRIGGER_COUNTERS;
|
engineConfiguration->debugMode = DBG_TRIGGER_COUNTERS;
|
||||||
|
|
||||||
|
|
|
@ -711,6 +711,8 @@ static void setDefaultEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
setDefaultBoostParameters(PASS_CONFIG_PARAMETER_SIGNATURE);
|
setDefaultBoostParameters(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
engineConfiguration->afterCrankingIACtaperDuration = 35;
|
||||||
|
|
||||||
CONFIG(tachPulsePerRev) = 1;
|
CONFIG(tachPulsePerRev) = 1;
|
||||||
|
|
||||||
// OBD-II default rate is 500kbps
|
// OBD-II default rate is 500kbps
|
||||||
|
|
Loading…
Reference in New Issue