fix BME280 no iaq value
This commit is contained in:
parent
bf8ce227ff
commit
261c643d7f
@ -387,9 +387,9 @@ Note: all settings are stored in NVRAM and will be reloaded when device starts.
|
||||
|
||||
Device answers with it's current status on Port 4.
|
||||
|
||||
0x85 get BME680 sensor data
|
||||
0x85 get BME280 / BME680 sensor data
|
||||
|
||||
Device answers with BME680 sensor data set on Port 7.
|
||||
Device answers with BME sensor data set on Port 7.
|
||||
|
||||
0x86 get time/date
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user