diff --git a/components/tc_bus/tc_bus.cpp b/components/tc_bus/tc_bus.cpp index e7db7aa..50383ab 100644 --- a/components/tc_bus/tc_bus.cpp +++ b/components/tc_bus/tc_bus.cpp @@ -67,12 +67,12 @@ namespace esphome gpio_pin_rx_->set_flags(gpio::Flags::FLAG_INPUT); this->set_rx_pin(gpio_pin_rx_); - /*esp32::ESP32InternalGPIOPin *gpio_pin_tx_; + esp32::ESP32InternalGPIOPin *gpio_pin_tx_; gpio_pin_tx_ = new(esp32::ESP32InternalGPIOPin); gpio_pin_tx_->set_pin(static_cast(8)); gpio_pin_tx_->set_flags(gpio::Flags::FLAG_OUTPUT); - gpio_pin_tx_->set_drive_strength(static_cast(2)); - this->set_tx_pin(gpio_pin_tx_);*/ + gpio_pin_tx_->set_drive_strength(GPIO_DRIVE_CAP_DEFAULT); + this->set_tx_pin(gpio_pin_tx_); ESP_LOGD(TAG, "Doorman Hardware GPIO Override: RX (%i), TX (%i)", this->rx_pin_->get_pin(), this->tx_pin_->get_pin()); }