Browse Source

whitespace

main 0.5.6-alpha.1
Hendrik Langer 4 years ago
parent
commit
77d548e185
  1. 2
      src/SensorHistory.cpp
  2. 1
      src/SensorHistory.h
  3. 2
      src/main.cpp

2
src/SensorHistory.cpp

@ -73,5 +73,5 @@ float SensorHistory::getElement(int index) const {
float SensorHistory::getFirst(void) const { float SensorHistory::getFirst(void) const {
if (_cnt < _size) return _values[0]; if (_cnt < _size) return _values[0];
return getElement(-1); return getElement(-1);
} }

1
src/SensorHistory.h

@ -22,5 +22,4 @@ class SensorHistory {
}; };
#endif /* _SENSOR_HISTORY_H */ #endif /* _SENSOR_HISTORY_H */

2
src/main.cpp

@ -759,7 +759,7 @@ void setup()
} else { } else {
ESP_LOGE(TAG, "Could not find a valid BME680 sensor, check wiring!"); ESP_LOGE(TAG, "Could not find a valid BME680 sensor, check wiring!");
} }
if (bmp280.begin()) { if (bmp280.begin()) {
Serial.println("BMP280 found"); Serial.println("BMP280 found");
} }

Loading…
Cancel
Save