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.
1 parent 8edea61 commit 14aff8aCopy full SHA for 14aff8a
Adafruit_BME280.cpp
@@ -471,7 +471,7 @@ float Adafruit_BME280::readHumidity(void) {
471
if (adc_H == 0x8000) // value in case humidity measurement was disabled
472
return NAN;
473
474
- var1 = calib_data->t_fine - ((int32_t)76800);
+ var1 = t_fine - ((int32_t)76800);
475
var2 = (int32_t)(adc_H * 16384);
476
var3 = (int32_t)(((int32_t)_bme280_calib.dig_H4) * 1048576);
477
var4 = ((int32_t)_bme280_calib.dig_H5) * var1;
0 commit comments