Skip to content

Commit 45989bf

Browse files
committed
Drivers as drvBase not auto
1 parent 43c9cda commit 45989bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/i2c/controller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ void I2cController::ConfigureMuxChannel(uint32_t mux_channel, bool is_alt_bus) {
10321032

10331033
void I2cController::PrintAllDrivers() {
10341034
WS_DEBUG_PRINTLN("[i2c] Printing all drivers...");
1035-
for (auto *drv : _i2c_drivers) {
1035+
for (drvBase *drv : _i2c_drivers) {
10361036
if (drv == nullptr)
10371037
continue; // skip null drivers
10381038
drv->printSensorInfo();

0 commit comments

Comments
 (0)