Remove redundant code line from uart.c
Merges part of https://github.com/espressif/esp-idf/pull/650
This commit is contained in:
parent
c8d8fb58e7
commit
4f812eb29c
|
@ -616,7 +616,6 @@ static void uart_rx_intr_handler_default(void *param)
|
||||||
uart_reg->int_clr.rxfifo_tout = 1;
|
uart_reg->int_clr.rxfifo_tout = 1;
|
||||||
uart_reg->int_clr.rxfifo_full = 1;
|
uart_reg->int_clr.rxfifo_full = 1;
|
||||||
UART_EXIT_CRITICAL_ISR(&uart_spinlock[uart_num]);
|
UART_EXIT_CRITICAL_ISR(&uart_spinlock[uart_num]);
|
||||||
uart_event.type = UART_DATA;
|
|
||||||
uart_event.size = rx_fifo_len;
|
uart_event.size = rx_fifo_len;
|
||||||
//If we fail to push data to ring buffer, we will have to stash the data, and send next time.
|
//If we fail to push data to ring buffer, we will have to stash the data, and send next time.
|
||||||
//Mainly for applications that uses flow control or small ring buffer.
|
//Mainly for applications that uses flow control or small ring buffer.
|
||||||
|
|
Loading…
Reference in a new issue