At least read all TPS inputs
This commit is contained in:
parent
984445d545
commit
ef28f394a9
|
@ -849,6 +849,6 @@ int getRusEfiVersion(void) {
|
|||
if (initBootloader() != 0)
|
||||
return 123;
|
||||
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
||||
return 201200319;
|
||||
return 201200320;
|
||||
}
|
||||
#endif /* EFI_UNIT_TEST */
|
||||
|
|
|
@ -506,11 +506,12 @@ static void configureInputs(void) {
|
|||
addChannel("hip", engineConfiguration->hipOutputChannel, ADC_FAST);
|
||||
|
||||
addChannel("baro", engineConfiguration->baroSensor.hwChannel, ADC_SLOW);
|
||||
addChannel("TPS", engineConfiguration->tps1_1AdcChannel, ADC_SLOW);
|
||||
if (engineConfiguration->tps2_1AdcChannel != EFI_ADC_0) {
|
||||
// allow EFI_ADC_0 next time we have an incompatible configuration change
|
||||
addChannel("TPS2", engineConfiguration->tps2_1AdcChannel, ADC_SLOW);
|
||||
}
|
||||
|
||||
addChannel("TPS1_1", engineConfiguration->tps1_1AdcChannel, ADC_SLOW);
|
||||
addChannel("TPS1_2", engineConfiguration->tps1_2AdcChannel, ADC_SLOW);
|
||||
addChannel("TPS2_1", engineConfiguration->tps2_1AdcChannel, ADC_SLOW);
|
||||
addChannel("TPS2_2", engineConfiguration->tps2_2AdcChannel, ADC_SLOW);
|
||||
|
||||
addChannel("fuel", engineConfiguration->fuelLevelSensor, ADC_SLOW);
|
||||
addChannel("pPS", engineConfiguration->throttlePedalPositionAdcChannel, ADC_SLOW);
|
||||
addChannel("VBatt", engineConfiguration->vbattAdcChannel, ADC_SLOW);
|
||||
|
|
Loading…
Reference in New Issue