Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed May 21, 2024
1 parent fe88e97 commit 20cc7e0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions components/tcs_intercom/tcs_intercom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ namespace esphome

if(ver[0] > 0)
{
this->rx_pin_->set_pin(gpio_num_t(22));
this->rx_pin_->set_pin(gpio_num_t(23));
const gpio_num_t scl_pin = static_cast<gpio_num_t>(22);
const gpio_num_t sda_pin = static_cast<gpio_num_t>(23);

this->rx_pin_->set_pin(scl_pin);
this->rx_pin_->set_pin(sda_pin);
}


Expand Down

0 comments on commit 20cc7e0

Please sign in to comment.