diff --git a/cores/esp32/esp32-hal-uart.c b/cores/esp32/esp32-hal-uart.c index 34cf17ee0ea..cbb454645d5 100644 --- a/cores/esp32/esp32-hal-uart.c +++ b/cores/esp32/esp32-hal-uart.c @@ -509,8 +509,6 @@ uart_t* uartBegin(uint8_t uart_nr, uint32_t baudrate, uint32_t config, int8_t rx uart->_rxfifo_full_thrhd = rxfifo_full_thrhd; uart->_rx_buffer_size = rx_buffer_size; uart->_tx_buffer_size = tx_buffer_size; - uart->_ctsPin = -1; - uart->_rtsPin = -1; uart->has_peek = false; uart->peek_byte = 0; }