mirror of
https://github.com/esphome/esphome.git
synced 2024-11-12 10:16:02 +01:00
i2c: fix format string specifiers (#6746)
This commit is contained in:
parent
46eee4a4f0
commit
073fb4c124
@ -56,7 +56,7 @@ void IDFI2CBus::setup() {
|
|||||||
this->mark_failed();
|
this->mark_failed();
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
ESP_LOGV(TAG, "i2c_timeout set to %d ticks (%d us)", timeout_ * 80, timeout_);
|
ESP_LOGV(TAG, "i2c_timeout set to %" PRIu32 " ticks (%" PRIu32 " us)", timeout_ * 80, timeout_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
err = i2c_driver_install(port_, I2C_MODE_MASTER, 0, 0, ESP_INTR_FLAG_IRAM);
|
err = i2c_driver_install(port_, I2C_MODE_MASTER, 0, 0, ESP_INTR_FLAG_IRAM);
|
||||||
|
Loading…
Reference in New Issue
Block a user