mirror of
https://github.com/meshtastic/firmware.git
synced 2026-02-15 01:51:20 -05:00
allow sensors connected to second I2C port (#2891)
This commit is contained in:
@@ -14,7 +14,7 @@ int32_t INA260Sensor::runOnce()
|
||||
}
|
||||
|
||||
if (!status) {
|
||||
status = ina260.begin(nodeTelemetrySensorsMap[sensorType]);
|
||||
status = ina260.begin(nodeTelemetrySensorsMap[sensorType].first, nodeTelemetrySensorsMap[sensorType].second);
|
||||
}
|
||||
return initI2CSensor();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user