1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-23 20:23:50 +01:00

running setup

This commit is contained in:
J. Nick Koston
2025-07-24 16:29:54 -10:00
parent 3d0cea4ce3
commit 1a1382de43
248 changed files with 7 additions and 355 deletions

View File

@@ -46,8 +46,6 @@ uint16_t LibreTinyUARTComponent::get_config() {
}
void LibreTinyUARTComponent::setup() {
ESP_LOGCONFIG(TAG, "Running setup");
int8_t tx_pin = tx_pin_ == nullptr ? -1 : tx_pin_->get_pin();
int8_t rx_pin = rx_pin_ == nullptr ? -1 : rx_pin_->get_pin();
bool tx_inverted = tx_pin_ != nullptr && tx_pin_->is_inverted();