auto-sync

This commit is contained in:
rusEfi 2014-09-11 19:02:54 -05:00
parent 2feccab395
commit 4ab78bce6e
1 changed files with 8 additions and 6 deletions

View File

@ -503,11 +503,13 @@ void initAdcInputs(void) {
slowAdc.init();
pwmStart(EFI_INTERNAL_SLOW_ADC_PWM, &pwmcfg_slow);
if (boardConfiguration->isFastAdcEnabled) {
fastAdc.init();
/*
* Initializes the PWM driver.
*/
pwmStart(EFI_INTERNAL_FAST_ADC_PWM, &pwmcfg_fast);
}
// ADC_CHANNEL_IN0 // PA0
// ADC_CHANNEL_IN1 // PA1