mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-08 15:32:48 +00:00
fix SHTC3 BUG
This commit is contained in:
parent
62b40038b1
commit
31bfc2ccd6
@ -15,7 +15,7 @@ int32_t SHTC3Sensor::runOnce()
|
|||||||
if (!hasSensor()) {
|
if (!hasSensor()) {
|
||||||
return DEFAULT_SENSOR_MINIMUM_WAIT_TIME_BETWEEN_READS;
|
return DEFAULT_SENSOR_MINIMUM_WAIT_TIME_BETWEEN_READS;
|
||||||
}
|
}
|
||||||
status = shtc3.begin();
|
status = shtc3.begin(nodeTelemetrySensorsMap[sensorType].second);
|
||||||
return initI2CSensor();
|
return initI2CSensor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user