mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 02:58:11 +01:00
Log start of i2c setup (#5049)
This commit is contained in:
parent
fd9cca565b
commit
45c72f1f22
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ namespace i2c {
|
||||||
static const char *const TAG = "i2c.idf";
|
static const char *const TAG = "i2c.idf";
|
||||||
|
|
||||||
void IDFI2CBus::setup() {
|
void IDFI2CBus::setup() {
|
||||||
|
ESP_LOGCONFIG(TAG, "Setting up I2C bus...");
|
||||||
static i2c_port_t next_port = 0;
|
static i2c_port_t next_port = 0;
|
||||||
port_ = next_port++;
|
port_ = next_port++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue