diff --git a/src/SensorHistory.cpp b/src/SensorHistory.cpp index afed30e..af76b7d 100644 --- a/src/SensorHistory.cpp +++ b/src/SensorHistory.cpp @@ -73,5 +73,5 @@ float SensorHistory::getElement(int index) const { float SensorHistory::getFirst(void) const { if (_cnt < _size) return _values[0]; return getElement(-1); - + } diff --git a/src/SensorHistory.h b/src/SensorHistory.h index 17bd8a2..369bf8f 100644 --- a/src/SensorHistory.h +++ b/src/SensorHistory.h @@ -22,5 +22,4 @@ class SensorHistory { }; - #endif /* _SENSOR_HISTORY_H */ diff --git a/src/main.cpp b/src/main.cpp index 38877d7..a780999 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -759,7 +759,7 @@ void setup() } else { ESP_LOGE(TAG, "Could not find a valid BME680 sensor, check wiring!"); } - + if (bmp280.begin()) { Serial.println("BMP280 found"); }