auto-sync

This commit is contained in:
rusEfi 2016-05-11 23:01:39 -04:00
parent 8da952cdf3
commit a8db509257
1 changed files with 5 additions and 0 deletions

View File

@ -508,6 +508,10 @@ static void configureInputs(void) {
addChannel("IAT", engineConfiguration->iat.adcChannel, ADC_SLOW);
addChannel("AFR", engineConfiguration->afr.hwChannel, ADC_SLOW);
addChannel("AC", engineConfiguration->acSwitchAdc, ADC_SLOW);
for (int i = 0; i < FSIO_ADC_COUNT ; i++) {
addChannel("fsio", engineConfiguration->fsioAdc[i], ADC_SLOW);
}
}
void initAdcInputs(bool boardTestMode) {
@ -542,6 +546,7 @@ void initAdcInputs(bool boardTestMode) {
}
}
slowAdc.init();
pwmStart(EFI_INTERNAL_SLOW_ADC_PWM, &pwmcfg_slow);
if (boardConfiguration->isFastAdcEnabled) {