bugfix - PPS second channel was not initialized
This commit is contained in:
parent
5fdebbdabc
commit
add49b0a5c
|
@ -321,7 +321,8 @@ static void printAnalogInfo(void) {
|
|||
printAnalogChannelInfo("fuel gauge", engineConfiguration->fuelLevelSensor);
|
||||
printAnalogChannelInfo("TPS", engineConfiguration->tps1_1AdcChannel);
|
||||
printAnalogChannelInfo("TPS2", engineConfiguration->tps2_1AdcChannel);
|
||||
printAnalogChannelInfo("pPS", engineConfiguration->throttlePedalPositionAdcChannel);
|
||||
printAnalogChannelInfo("pPS1", engineConfiguration->throttlePedalPositionAdcChannel);
|
||||
printAnalogChannelInfo("pPS2", engineConfiguration->throttlePedalPositionSecondAdcChannel);
|
||||
printAnalogChannelInfo("CLT", engineConfiguration->clt.adcChannel);
|
||||
printAnalogChannelInfo("IAT", engineConfiguration->iat.adcChannel);
|
||||
printAnalogChannelInfo("AuxT1", engineConfiguration->auxTempSensor1.adcChannel);
|
||||
|
|
|
@ -488,7 +488,8 @@ static void configureInputs(void) {
|
|||
addChannel("TPS 2 Secondary", engineConfiguration->tps2_2AdcChannel, ADC_SLOW);
|
||||
|
||||
addChannel("Fuel Level", engineConfiguration->fuelLevelSensor, ADC_SLOW);
|
||||
addChannel("Acc Pedal", engineConfiguration->throttlePedalPositionAdcChannel, ADC_SLOW);
|
||||
addChannel("Acc Pedal1", engineConfiguration->throttlePedalPositionAdcChannel, ADC_SLOW);
|
||||
addChannel("Acc Pedal2", engineConfiguration->throttlePedalPositionSecondAdcChannel, ADC_SLOW);
|
||||
addChannel("VBatt", engineConfiguration->vbattAdcChannel, ADC_SLOW);
|
||||
// not currently used addChannel("Vref", engineConfiguration->vRefAdcChannel, ADC_SLOW);
|
||||
addChannel("CLT", engineConfiguration->clt.adcChannel, ADC_SLOW);
|
||||
|
|
|
@ -606,7 +606,7 @@ end_struct
|
|||
|
||||
afr_sensor_s afr
|
||||
|
||||
adc_channel_e throttlePedalPositionAdcChannel;Electronic throttle pedal position input\nFirst channel\nSee also tps1_1AdcChannel\nset_analog_input_pin pps X
|
||||
adc_channel_e throttlePedalPositionAdcChannel;Electronic throttle pedal position first channel\nSee throttlePedalPositionSecondAdcChannel for second channel\nSee also tps1_1AdcChannel\nset_analog_input_pin pps X
|
||||
brain_pin_e tle6240_cs;
|
||||
pin_output_mode_e tle6240_csPinMode;
|
||||
|
||||
|
|
Loading…
Reference in New Issue