From 4f812eb29ce412390476aeaa821011c5bfb1d2c5 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 30 Aug 2017 15:16:11 +1000 Subject: [PATCH] Remove redundant code line from uart.c Merges part of https://github.com/espressif/esp-idf/pull/650 --- components/driver/uart.c | 1 - 1 file changed, 1 deletion(-) diff --git a/components/driver/uart.c b/components/driver/uart.c index 976efda3d..3f0daaaaa 100644 --- a/components/driver/uart.c +++ b/components/driver/uart.c @@ -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_full = 1; UART_EXIT_CRITICAL_ISR(&uart_spinlock[uart_num]); - uart_event.type = UART_DATA; 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. //Mainly for applications that uses flow control or small ring buffer.