Skip to content

Commit 8d9d7fa

Browse files
IhorNehrutsaIhorNehrutsa
authored andcommitted
esp32/uart: Fix UART_FIFO_LEN const.
Signed-off-by: IhorNehrutsa <[email protected]>
1 parent 2e66850 commit 8d9d7fa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ports/esp32/machine_uart.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
// This file is never compiled standalone, it's included directly from
2828
// extmod/machine_uart.c via MICROPY_PY_MACHINE_UART_INCLUDEFILE.
2929

30+
#include "soc/uart_periph.h"
3031
#include "driver/uart.h"
3132
#include "freertos/FreeRTOS.h"
3233
#include "freertos/task.h"

ports/esp32/uart.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#if MICROPY_HW_ENABLE_UART_REPL
3535

3636
#include <stdio.h>
37+
#include "soc/uart_periph.h"
3738
#include "driver/uart.h" // For uart_get_sclk_freq()
3839
#include "hal/uart_hal.h"
3940
#include "soc/uart_periph.h"

0 commit comments

Comments
 (0)