summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/adc.c')
-rw-r--r--stmhal/adc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/stmhal/adc.c b/stmhal/adc.c
index 7431a356d5..57dc212d6e 100644
--- a/stmhal/adc.c
+++ b/stmhal/adc.c
@@ -62,8 +62,11 @@
defined(STM32F411xE)
#define VBAT_DIV (2)
#elif defined(STM32F427xx) || defined(STM32F429xx) || \
- defined(STM32F437xx) || defined(STM32F439xx)
+ defined(STM32F437xx) || defined(STM32F439xx) || \
+ defined(STM32F746xx)
#define VBAT_DIV (4)
+#else
+#error Unsupported processor
#endif
/* Core temperature sensor definitions */