From 4e70835d58b84574453ee93a7467242b6ff861ae Mon Sep 17 00:00:00 2001 From: Jason Mansfield Date: Sun, 2 Aug 2020 20:20:01 -0700 Subject: [PATCH] format files with `clang-format -i` --- Adafruit_BME280.cpp | 2 +- Adafruit_BME280.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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