@ -73,5 +73,5 @@ float SensorHistory::getElement(int index) const {
float SensorHistory::getFirst(void) const {
if (_cnt < _size) return _values[0];
return getElement(-1);
}
@ -22,5 +22,4 @@ class SensorHistory {
};
#endif /* _SENSOR_HISTORY_H */
@ -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");