BME680 bugfix

This commit is contained in:
Klaus K Wilting 2019-01-06 20:05:15 +01:00
parent 25a97fbbcc
commit 48b68653ab

View File

@ -110,7 +110,6 @@ void bme_loop(void *pvParameters) {
while (xSemaphoreTake(I2Caccess, portMAX_DELAY) == pdTRUE) { while (xSemaphoreTake(I2Caccess, portMAX_DELAY) == pdTRUE) {
if (iaqSensor.run()) { // If new data is available if (iaqSensor.run()) { // If new data is available
iaqSensor.run();
bme_status.raw_temperature = iaqSensor.rawTemperature; bme_status.raw_temperature = iaqSensor.rawTemperature;
bme_status.raw_humidity = iaqSensor.rawHumidity; bme_status.raw_humidity = iaqSensor.rawHumidity;
bme_status.temperature = iaqSensor.temperature; bme_status.temperature = iaqSensor.temperature;