format files with `clang-format -i`
This commit is contained in:
parent
938e099006
commit
4e70835d58
|
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue