diff --git a/Adafruit_BME280.cpp b/Adafruit_BME280.cpp index f55e234..4c22646 100644 --- a/Adafruit_BME280.cpp +++ b/Adafruit_BME280.cpp @@ -545,7 +545,7 @@ uint32_t Adafruit_BME280::sensorID(void) { return _sensorID; } * @returns the current temperature compensation value in degrees Celcius */ float Adafruit_BME280::getTemperatureCompensation(void) { - return float(((t_fine_adjust*5)>>8)/100); + return float(((t_fine_adjust * 5) >> 8) / 100); }; /*! diff --git a/Adafruit_BME280.h b/Adafruit_BME280.h index a11ce9e..30bac3e 100644 --- a/Adafruit_BME280.h +++ b/Adafruit_BME280.h @@ -278,7 +278,7 @@ protected: 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 + //!< pressure and humidity readings bme280_calib_data _bme280_calib; //!< here calibration data is stored