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

[i2c] Use `i2c_master_probe` to scan i2c bus (#9831)

This commit is contained in:
Jesse Hills
2025-07-23 23:31:13 +12:00
committed by GitHub
parent bb6f8aeb94
commit babaa1db3f
4 changed files with 18 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ void ArduinoI2CBus::setup() {
this->initialized_ = true;
if (this->scan_) {
ESP_LOGV(TAG, "Scanning bus for active devices");
this->i2c_scan_();
this->i2c_scan();
}
}