mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-18 02:26:08 +00:00
driver: bugfix/fix uart parity and frame error bug
1. modify definition for uart_parity_t 2. fix bugs in uart interrupt handler for parity err and frame err.
This commit is contained in:
@@ -68,8 +68,8 @@ typedef enum {
|
||||
|
||||
typedef enum {
|
||||
UART_PARITY_DISABLE = 0x0, /*!< Disable UART parity*/
|
||||
UART_PARITY_EVEN = 0x10, /*!< Enable UART even parity*/
|
||||
UART_PARITY_ODD = 0x11 /*!< Enable UART odd parity*/
|
||||
UART_PARITY_EVEN = 0x2, /*!< Enable UART even parity*/
|
||||
UART_PARITY_ODD = 0x3 /*!< Enable UART odd parity*/
|
||||
} uart_parity_t;
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user