uart driver: Move UART_EVENT_MAX to last

Merges https://github.com/espressif/esp-idf/pull/594
This commit is contained in:
zelll 2017-05-11 21:59:50 +08:00 committed by Angus Gratton
parent 66191fc0b5
commit 0b447db8d8

View file

@ -129,8 +129,8 @@ typedef enum {
UART_FRAME_ERR, /*!< UART RX frame error event*/
UART_PARITY_ERR, /*!< UART RX parity event*/
UART_DATA_BREAK, /*!< UART TX data and break event*/
UART_PATTERN_DET, /*!< UART pattern detected */
UART_EVENT_MAX, /*!< UART event max index*/
UART_PATTERN_DET, /*!< UART pattern detected */
} uart_event_type_t;
/**