mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 02:02:23 +00:00
Update BMP280Sensor.cpp (#1627)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user