diff options
Diffstat (limited to 'os/hal/platforms')
| -rw-r--r-- | os/hal/platforms/STM32F0xx/adc_lld.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32F0xx/adc_lld.c b/os/hal/platforms/STM32F0xx/adc_lld.c index 7d148aaaa..ba4834b40 100644 --- a/os/hal/platforms/STM32F0xx/adc_lld.c +++ b/os/hal/platforms/STM32F0xx/adc_lld.c @@ -156,8 +156,7 @@ void adc_lld_init(void) {    /* The shared vector is initialized on driver initialization and never
       disabled.*/
 -  nvicEnableVector(ADC1_COMP_IRQn,
 -                   CORTEX_PRIORITY_MASK(STM32_ADC_IRQ_PRIORITY));
 +  nvicEnableVector(12, CORTEX_PRIORITY_MASK(STM32_ADC_IRQ_PRIORITY));
    /* Calibration procedure.*/
    rccEnableADC1(FALSE);
  | 
