fixing ADC
This commit is contained in:
parent
9a7aa62cde
commit
2f05a05845
|
@ -582,12 +582,15 @@ void initAdcInputs(bool boardTestMode) {
|
|||
|
||||
slowAdc.init();
|
||||
pwmStart(EFI_INTERNAL_SLOW_ADC_PWM, &pwmcfg_slow);
|
||||
pwmEnablePeriodicNotification(EFI_INTERNAL_SLOW_ADC_PWM);
|
||||
|
||||
if (boardConfiguration->isFastAdcEnabled) {
|
||||
fastAdc.init();
|
||||
/*
|
||||
* Initializes the PWM driver.
|
||||
*/
|
||||
pwmStart(EFI_INTERNAL_FAST_ADC_PWM, &pwmcfg_fast);
|
||||
pwmEnablePeriodicNotification(EFI_INTERNAL_FAST_ADC_PWM);
|
||||
}
|
||||
|
||||
// ADC_CHANNEL_IN0 // PA0
|
||||
|
|
Loading…
Reference in New Issue