aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/usart_private.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmaple/usart_private.c b/libmaple/usart_private.c
index d79387a..0eaacdf 100644
--- a/libmaple/usart_private.c
+++ b/libmaple/usart_private.c
@@ -32,6 +32,7 @@
#include "usart_private.h"
#include <libmaple/rcc.h>
+#include <libmaple/stm32.h>
uint32 _usart_clock_freq(usart_dev *dev) {
rcc_clk_domain domain = rcc_dev_clk(dev->clk_id);