diff options
Diffstat (limited to 'src/stm32f4/internal.h')
-rw-r--r-- | src/stm32f4/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stm32f4/internal.h b/src/stm32f4/internal.h index 062d7c65..22720a96 100644 --- a/src/stm32f4/internal.h +++ b/src/stm32f4/internal.h @@ -4,6 +4,8 @@ #include "stm32f4xx.h" +extern GPIO_TypeDef * const digital_regs[]; + #define GPIO(PORT, NUM) (((PORT)-'A') * 16 + (NUM)) #define GPIO2PORT(PIN) ((PIN) / 16) #define GPIO2BIT(PIN) (1<<((PIN) % 16)) |