summaryrefslogtreecommitdiff
path: root/stmhal/adc.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2015-07-28 11:13:33 -0700
committerDamien George <damien.p.george@gmail.com>2015-07-30 00:38:32 +0100
commit92d4b51ad5d828930334f87d9619a78b5877a384 (patch)
treeb055ba812bfce720130c6c52272bde38e80a00c9 /stmhal/adc.c
parent7e7fb0b7a3d716062281c2366de97a41a1ea87c1 (diff)
stmhal: Add STM32F7DISC and associated changes.
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 7431a356d..57dc212d6 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 */