mirror of
https://github.com/esphome/esphome.git
synced 2025-09-25 06:32:22 +01:00
Streamline setup() logging (g, h, i) (#8927)
This commit is contained in:
@@ -13,6 +13,7 @@ namespace i2c {
|
||||
static const char *const TAG = "i2c.arduino";
|
||||
|
||||
void ArduinoI2CBus::setup() {
|
||||
ESP_LOGCONFIG(TAG, "Running setup");
|
||||
recover_();
|
||||
|
||||
#if defined(USE_ESP32)
|
||||
|
@@ -18,7 +18,7 @@ namespace i2c {
|
||||
static const char *const TAG = "i2c.idf";
|
||||
|
||||
void IDFI2CBus::setup() {
|
||||
ESP_LOGCONFIG(TAG, "Setting up I2C bus...");
|
||||
ESP_LOGCONFIG(TAG, "Running setup");
|
||||
static i2c_port_t next_port = I2C_NUM_0;
|
||||
port_ = next_port;
|
||||
#if SOC_HP_I2C_NUM > 1
|
||||
|
Reference in New Issue
Block a user