aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f1/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f1/internal.h')
-rw-r--r--src/stm32f1/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stm32f1/internal.h b/src/stm32f1/internal.h
index 73aa179b..e509927b 100644
--- a/src/stm32f1/internal.h
+++ b/src/stm32f1/internal.h
@@ -2,6 +2,8 @@
#define __STM32F1_INTERNAL_H
// Local definitions for STM32F1 code
+#include "stm32f1xx.h"
+
#define GPIO(PORT, NUM) (((PORT)-'A') * 16 + (NUM))
#define GPIO2PORT(PIN) ((PIN) / 16)