summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorConstantine Karos <36245370+karosc@users.noreply.github.com>2023-09-17 08:18:26 -0400
committerGitHub <noreply@github.com>2023-09-17 13:18:26 +0100
commit1fbd45a5949acc6bc51c4bbd80ad2d4c249e7805 (patch)
treeee6104a7f16c3256b5fec6fe474904b939eb66e4 /platforms
parent39fafdac0f7d53cd83077bb4a5e90828c5186c55 (diff)
Add missing gpio and chibios defs to uart.h (#22033)
Diffstat (limited to 'platforms')
-rw-r--r--platforms/chibios/drivers/uart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/platforms/chibios/drivers/uart.h b/platforms/chibios/drivers/uart.h
index d1917bfc80..16983072ce 100644
--- a/platforms/chibios/drivers/uart.h
+++ b/platforms/chibios/drivers/uart.h
@@ -21,6 +21,9 @@
#include <hal.h>
+#include "gpio.h"
+#include "chibios_config.h"
+
#ifndef SERIAL_DRIVER
# define SERIAL_DRIVER SD1
#endif