fix BME280 no iaq value

This commit is contained in:
Verkehrsrot committed 2019-04-06 20:23:28 +02:00
1 parent bf8ce227ff
commit 261c643d7f
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -165,6 +165,7 @@ void bme_loop(void *pvParameters) {
(bme.readPressure() / 100.0); // conversion Pa -> hPa
// bme.readAltitude(SEALEVELPRESSURE_HPA);
bme_status.humidity = bme.readHumidity();
bme_status.iaq = 0; // IAQ feature not present with BME280
I2C_MUTEX_UNLOCK();
}
}