1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Log start of i2c setup (#5049)

This commit is contained in:
Jesse Hills
2023-07-04 15:26:31 +12:00
committed by GitHub
parent fd9cca565b
commit 45c72f1f22

View File

@@ -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++;