This commit is contained in:
parent
4771c6c2db
commit
34b2aaf946
|
@ -72,7 +72,6 @@ static void setupDefaultSensorInputs() {
|
|||
|
||||
engineConfiguration->mafAdcChannel = EFI_ADC_10;
|
||||
engineConfiguration->map.sensor.hwChannel = H144_IN_MAP3;
|
||||
engineConfiguration->map.sensor.type = MT_MPXH6400;
|
||||
|
||||
engineConfiguration->afr.hwChannel = EFI_ADC_1;
|
||||
|
||||
|
@ -123,9 +122,7 @@ void setBoardDefaultConfiguration() {
|
|||
engineConfiguration->fuelPumpPin = Gpio::G2; // OUT_IO9
|
||||
engineConfiguration->idle.solenoidPin = Gpio::D14; // OUT_PWM5
|
||||
engineConfiguration->fanPin = Gpio::D12; // OUT_PWM8
|
||||
engineConfiguration->mainRelayPin = Gpio::I2; // OUT_LOW3
|
||||
engineConfiguration->tachOutputPin = H144_OUT_PWM1;
|
||||
engineConfiguration->alternatorControlPin = H144_OUT_PWM7;
|
||||
engineConfiguration->fan2Pin = H144_OUT_IO2;
|
||||
|
||||
// "required" hardware is done - set some reasonable defaults
|
||||
|
|
|
@ -161,6 +161,7 @@ void miataNAcommonEngineSettings() {
|
|||
engineConfiguration->cylinderBore = 78;
|
||||
engineConfiguration->knockBandCustom = 6.8;
|
||||
engineConfiguration->vehicleWeight = 950;
|
||||
engineConfiguration->totalGearsCount = 5;
|
||||
|
||||
engineConfiguration->rpmHardLimit = 7200;
|
||||
engineConfiguration->enableFan1WithAc = true;
|
||||
|
|
|
@ -29,7 +29,7 @@ static void commonNA8() {
|
|||
engineConfiguration->idleRpmPid.iFactor = 0.3;
|
||||
engineConfiguration->idle_derivativeFilterLoss = 0.08;
|
||||
engineConfiguration->idle_antiwindupFreq = 0.03;
|
||||
engineConfiguration->idleRpmPid.dFactor = 0.02;
|
||||
engineConfiguration->idleRpmPid.dFactor = 0.002;
|
||||
engineConfiguration->idleRpmPid.offset = 9;
|
||||
engineConfiguration->idleRpmPid.minValue = 76;
|
||||
engineConfiguration->idlerpmpid_iTermMin = -15;
|
||||
|
@ -38,6 +38,7 @@ static void commonNA8() {
|
|||
engineConfiguration->idlePidRpmDeadZone = 100;
|
||||
engineConfiguration->idlePidRpmUpperLimit = 350;
|
||||
|
||||
engineConfiguration->iacByTpsTaper = 6;
|
||||
engineConfiguration->useIdleTimingPidControl = true;
|
||||
engineConfiguration->engineChartSize = 300;
|
||||
engineConfiguration->silentTriggerError = true;
|
||||
|
@ -46,6 +47,9 @@ static void commonNA8() {
|
|||
engineConfiguration->crankingIACposition = 36;
|
||||
engineConfiguration->afterCrankingIACtaperDuration = 189;
|
||||
|
||||
engineConfiguration->crankingTimingAngle = 6;
|
||||
engineConfiguration->ignitionDwellForCrankingMs = 4;
|
||||
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
|
||||
|
||||
engineConfiguration->specs.displacement = 1.839;
|
||||
strcpy(engineConfiguration->engineMake, ENGINE_MAKE_MAZDA);
|
||||
|
@ -82,4 +86,5 @@ void setFrankensoMazdaMiataNA8Configuration() {
|
|||
void setHellenMiata96() {
|
||||
miataNAcommonEngineSettings();
|
||||
commonNA8();
|
||||
engineConfiguration->map.sensor.type = MT_MPXH6400;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue