Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Oct 14, 2024
1 parent 2ffe732 commit eddad3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/tc_bus/tc_bus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<gpio_num_t>(8));
gpio_pin_tx_->set_flags(gpio::Flags::FLAG_OUTPUT);
gpio_pin_tx_->set_drive_strength(static_cast<gpio_drive_cap_t>(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());
}
Expand Down

0 comments on commit eddad3d

Please sign in to comment.