Skip to content

Commit 88d3f50

Browse files
authored
Merge pull request #733 from opendata-stuttgart/revert-732-master
Revert "Fixed bug in fetchSensorBMX280"
2 parents f2091bf + a70da42 commit 88d3f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airrohr-firmware/airrohr-firmware.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2699,7 +2699,7 @@ static void fetchSensorBMX280(String& s) {
26992699
const auto t = bmx280.readTemperature();
27002700
const auto p = bmx280.readPressure();
27012701
const auto h = bmx280.readHumidity();
2702-
if (isnan(t) || isnan(p) || isnan(h)) {
2702+
if (isnan(t) || isnan(p)) {
27032703
last_value_BMX280_T = -128.0;
27042704
last_value_BMX280_P = -1.0;
27052705
last_value_BME280_H = -1.0;

0 commit comments

Comments
 (0)