Browse Source

Add missing gpio and chibios defs to uart.h (#22033)

Constantine Karos 2 years ago
parent
commit
1fbd45a594
1 changed files with 3 additions and 0 deletions
  1. 3 0
      platforms/chibios/drivers/uart.h

+ 3 - 0
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