We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69c3bc4 + 01bba0f commit f2091bfCopy full SHA for f2091bf
airrohr-firmware/airrohr-firmware.ino
@@ -2699,7 +2699,7 @@ static void fetchSensorBMX280(String& s) {
2699
const auto t = bmx280.readTemperature();
2700
const auto p = bmx280.readPressure();
2701
const auto h = bmx280.readHumidity();
2702
- if (isnan(t) || isnan(p)) {
+ if (isnan(t) || isnan(p) || isnan(h)) {
2703
last_value_BMX280_T = -128.0;
2704
last_value_BMX280_P = -1.0;
2705
last_value_BME280_H = -1.0;
0 commit comments