summaryrefslogtreecommitdiff
path: root/ports/esp32/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/esp32/uart.c')
-rw-r--r--ports/esp32/uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/esp32/uart.c b/ports/esp32/uart.c
index 381be7f4f..c837c8dcf 100644
--- a/ports/esp32/uart.c
+++ b/ports/esp32/uart.c
@@ -29,6 +29,7 @@
#include <stdio.h>
#include "driver/uart.h"
+#include "soc/uart_periph.h"
#include "py/runtime.h"
#include "py/mphal.h"