From 22f9f759145fefce66cba07957e84d16078176f9 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Tue, 27 Aug 2019 20:13:50 +0200 Subject: [PATCH] Remove ESP32 uart pin entries See also https://github.com/esphome/esphome/commit/655327a8b19cd35d66a54a08ddcd1a31906ebcd2 --- esphome/components/uart/uart.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/esphome/components/uart/uart.cpp b/esphome/components/uart/uart.cpp index 3a139bd1d5..5e0bc3277e 100644 --- a/esphome/components/uart/uart.cpp +++ b/esphome/components/uart/uart.cpp @@ -20,10 +20,6 @@ void UARTComponent::setup() { // is 1 we still want to use Serial. if (this->tx_pin_.value_or(1) == 1 && this->rx_pin_.value_or(3) == 3) { this->hw_serial_ = &Serial; - } else if (this->tx_pin_.value_or(10) == 10 && this->rx_pin_.value_or(9) == 9) { - this->hw_serial_ = &Serial1; - } else if (this->tx_pin_.value_or(17) == 17 && this->rx_pin_.value_or(16) == 16) { - this->hw_serial_ = &Serial2; } else { this->hw_serial_ = new HardwareSerial(next_uart_num++); }