diff --git a/Adafruit_BME280.h b/Adafruit_BME280.h index 30bac3e..eec27da 100644 --- a/Adafruit_BME280.h +++ b/Adafruit_BME280.h @@ -277,8 +277,8 @@ protected: int8_t _miso; //!< for the SPI interface int8_t _sck; //!< for the SPI interface - int32_t t_fine_adjust; //!< add to compensate temp readings and in turn to - //!< pressure and humidity readings + int32_t t_fine_adjust = 0; //!< add to compensate temp readings and in turn + //!< to pressure and humidity readings bme280_calib_data _bme280_calib; //!< here calibration data is stored