Skip to content

Commit 4e70835

Browse files
format files with clang-format -i
1 parent 938e099 commit 4e70835

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Adafruit_BME280.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ uint32_t Adafruit_BME280::sensorID(void) { return _sensorID; }
545545
* @returns the current temperature compensation value in degrees Celcius
546546
*/
547547
float Adafruit_BME280::getTemperatureCompensation(void) {
548-
return float(((t_fine_adjust*5)>>8)/100);
548+
return float(((t_fine_adjust * 5) >> 8) / 100);
549549
};
550550

551551
/*!

Adafruit_BME280.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ class Adafruit_BME280 {
278278
int8_t _sck; //!< for the SPI interface
279279

280280
int32_t t_fine_adjust; //!< add to compensate temp readings and in turn to
281-
//!< pressure and humidity readings
281+
//!< pressure and humidity readings
282282

283283
bme280_calib_data _bme280_calib; //!< here calibration data is stored
284284

0 commit comments

Comments
 (0)