From 474477fd4b275350c08ef536f146e60deeb6a2a6 Mon Sep 17 00:00:00 2001 From: Song Ruo Jing Date: Fri, 21 Nov 2025 16:57:51 +0800 Subject: [PATCH] fix(uart): fix parenthesis typo on UART_INTR_CONFIG_FLAG macro No real impact on the logic, just typo fix Closes https://github.com/espressif/esp-idf/issues/17885 --- components/esp_driver_uart/src/uart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_driver_uart/src/uart.c b/components/esp_driver_uart/src/uart.c index 15eaf9d9fb..7f9b0defc4 100644 --- a/components/esp_driver_uart/src/uart.c +++ b/components/esp_driver_uart/src/uart.c @@ -85,8 +85,8 @@ static const char *UART_TAG = "uart"; | (UART_INTR_RXFIFO_TOUT) \ | (UART_INTR_RXFIFO_OVF) \ | (UART_INTR_BRK_DET) \ - | (UART_INTR_PARITY_ERR)) \ - | (UART_INTR_WAKEUP) + | (UART_INTR_PARITY_ERR) \ + | (UART_INTR_WAKEUP)) #else #define UART_INTR_CONFIG_FLAG ((UART_INTR_RXFIFO_FULL) \ | (UART_INTR_RXFIFO_TOUT) \