format files with `clang-format -i`

This commit is contained in:
Jason Mansfield 2020-08-02 20:20:01 -07:00
parent 938e099006
commit 4e70835d58
2 changed files with 2 additions and 2 deletions

View File

@ -545,7 +545,7 @@ uint32_t Adafruit_BME280::sensorID(void) { return _sensorID; }
* @returns the current temperature compensation value in degrees Celcius * @returns the current temperature compensation value in degrees Celcius
*/ */
float Adafruit_BME280::getTemperatureCompensation(void) { float Adafruit_BME280::getTemperatureCompensation(void) {
return float(((t_fine_adjust*5)>>8)/100); return float(((t_fine_adjust * 5) >> 8) / 100);
}; };
/*! /*!

View File

@ -278,7 +278,7 @@ protected:
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; //!< 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 bme280_calib_data _bme280_calib; //!< here calibration data is stored