Update BMP280Sensor.cpp (#1627)

This commit is contained in:
Ben Meadors 2022-08-12 20:11:32 -05:00 committed by GitHub
parent 97712a9dc4
commit 73a1ea59f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
#include <typeinfo>
BMP280Sensor::BMP280Sensor() :
TelemetrySensor(TelemetrySensorType_BME280, "BMP280")
TelemetrySensor(TelemetrySensorType_BMP280, "BMP280")
{
}
@ -27,4 +27,4 @@ bool BMP280Sensor::getMetrics(Telemetry *measurement) {
measurement->variant.environment_metrics.barometric_pressure = bmp280.readPressure() / 100.0F;
return true;
}
}