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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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