fix(uart): add missing include for rom/uart.h

Without this include it fails to compile with this error:

```
esp/esp-idf-v5.2/components/esp_rom/include/esp32/rom/uart.h:262:32: error: implicit declaration of function 'UART_STATUS_REG' [-Werror=implicit-function-declaration]
  262 |         status = READ_PERI_REG(UART_STATUS_REG(uart_no));
```

Merges https://github.com/espressif/esp-idf/pull/13025
This commit is contained in:
Ricardo Quesada 2024-01-21 08:07:46 -08:00 committed by Gao Xu
parent e99abdd6de
commit f082788957

View File

@ -10,6 +10,7 @@
#include "ets_sys.h"
#include "soc/soc.h"
#include "soc/uart_periph.h"
#include "soc/uart_reg.h"
#ifdef __cplusplus
extern "C" {