tryfix SHT31 sensor on secondary bus

This commit is contained in:
Thomas Göttgens
2024-03-11 13:51:26 +01:00
parent 3a8f623f8a
commit 658ed6fd28
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ int32_t SHT31Sensor::runOnce()
if (!hasSensor()) {
return DEFAULT_SENSOR_MINIMUM_WAIT_TIME_BETWEEN_READS;
}
status = sht31.begin();
status = sht31.begin(nodeTelemetrySensorsMap[sensorType].first);
return initI2CSensor();
}