Skip to content

Commit

Permalink
CLang formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Aug 7, 2023
1 parent 553d2b8 commit 6ab38f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/i2c/drivers/WipperSnapper_I2C_Driver_BMP388.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class WipperSnapper_I2C_Driver_BMP388 : public WipperSnapper_I2C_Driver {
*/
/*******************************************************************************/
bool getEventAmbientTemp(sensors_event_t *tempEvent) {
if(!_bmp->performReading())
if (!_bmp->performReading())
return false;
tempEvent->temperature = _bmp->temperature;
return true;
Expand All @@ -100,7 +100,7 @@ class WipperSnapper_I2C_Driver_BMP388 : public WipperSnapper_I2C_Driver {
*/
/*******************************************************************************/
bool getEventPressure(sensors_event_t *pressureEvent) {
if(!_bmp->performReading())
if (!_bmp->performReading())
return false;
pressureEvent->pressure = _bmp->pressure / 100.0F;
return true;
Expand All @@ -116,7 +116,7 @@ class WipperSnapper_I2C_Driver_BMP388 : public WipperSnapper_I2C_Driver {
*/
/*******************************************************************************/
bool getEventAltitude(sensors_event_t *altitudeEvent) {
if(!_bmp->performReading())
if (!_bmp->performReading())
return false;
// TODO: update once we add an altitude sensor type
// see https://github.com/adafruit/Adafruit_Sensor/issues/52
Expand Down

0 comments on commit 6ab38f2

Please sign in to comment.