initialize t_fine_adjust to 0

This commit is contained in:
Jason Mansfield 2020-08-03 13:57:10 -07:00
parent 4e70835d58
commit 9ef406a530
1 changed files with 2 additions and 2 deletions

View File

@ -277,8 +277,8 @@ protected:
int8_t _miso; //!< for the SPI interface int8_t _miso; //!< for the SPI interface
int8_t _sck; //!< 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 int32_t t_fine_adjust = 0; //!< add to compensate temp readings and in turn
//!< pressure and humidity readings //!< to pressure and humidity readings
bme280_calib_data _bme280_calib; //!< here calibration data is stored bme280_calib_data _bme280_calib; //!< here calibration data is stored