less invalid default config

This commit is contained in:
rusefi 2022-06-26 23:47:42 -04:00
parent 68b833ab95
commit b6544cccf0
2 changed files with 6 additions and 0 deletions

View File

@ -106,6 +106,10 @@ static void setupDefaultSensorInputs() {
engineConfiguration->throttlePedalPositionAdcChannel = H144_IN_PPS;
engineConfiguration->throttlePedalPositionSecondAdcChannel = H144_IN_AUX2;
// random values to have valid config
engineConfiguration->tps1SecondaryMin = 1000;
engineConfiguration->tps1SecondaryMax = 0;
engineConfiguration->mafAdcChannel = EFI_ADC_NONE;
engineConfiguration->map.sensor.hwChannel = H144_IN_MAP2;
engineConfiguration->baroSensor.type = MT_MPXH6400;

View File

@ -871,6 +871,8 @@ void setDefaultEtbParameters() {
// voltage, not ADC like with TPS
engineConfiguration->throttlePedalUpVoltage = 0;
engineConfiguration->throttlePedalWOTVoltage = 5;
engineConfiguration->throttlePedalSecondaryUpVoltage = 5.0;
engineConfiguration->throttlePedalSecondaryWOTVoltage = 0.0;
engineConfiguration->throttlePedalSecondaryWOTVoltage = 5.0;