This commit is contained in:
rusefi 2019-12-03 23:55:18 -05:00
parent de36f76882
commit bd841b6ca2
1 changed files with 6 additions and 0 deletions

View File

@ -517,6 +517,12 @@ static void configureInputs(void) {
memset(adcHwChannelEnabled, 0, sizeof(adcHwChannelEnabled));
memset(adcHwChannelUsage, 0, sizeof(adcHwChannelUsage));
/**
* order of analog channels here is totally random and has no meaning
* we also have some weird implementation with internal indices - that all has no meaning, it's just a random implementation
* which does not mean anything.
*/
addChannel("MAP", engineConfiguration->map.sensor.hwChannel, ADC_FAST);
if (hasMafSensor()) {
addChannel("MAF", engineConfiguration->mafAdcChannel, ADC_FAST);