aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32H7xx/stm32_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/STM32H7xx/stm32_registry.h')
-rw-r--r--os/hal/ports/STM32/STM32H7xx/stm32_registry.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32H7xx/stm32_registry.h b/os/hal/ports/STM32/STM32H7xx/stm32_registry.h
index 63ac7a8d5..ba998da8f 100644
--- a/os/hal/ports/STM32/STM32H7xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32H7xx/stm32_registry.h
@@ -38,11 +38,12 @@
/*===========================================================================*/
#if defined(STM32H743xx) || defined(STM32H753xx) || \
defined(__DOXYGEN__)
+
/* ADC attributes.*/
#define STM32_ADC12_HANDLER Vector88
#define STM32_ADC12_NUMBER 18
-#define STM32_ADC3_HANDLER Vector23C
-#define STM32_ADC3_NUMBER 127
+#define STM32_ADC34_HANDLER Vector23C
+#define STM32_ADC34_NUMBER 127
#define STM32_HAS_ADC1 TRUE