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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user