Browse Source
Merge pull request #504 from jaspersonneveldt/dev
Changed the Barometric Pressure value for the BME280 sensor since it was a factor 100 to high
pull/505/head
ripplebiz
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/helpers/sensors/EnvironmentSensorManager.cpp
|
|
@ -154,7 +154,7 @@ bool EnvironmentSensorManager::querySensors(uint8_t requester_permissions, Cayen |
|
|
if (BME280_initialized) { |
|
|
if (BME280_initialized) { |
|
|
telemetry.addTemperature(TELEM_CHANNEL_SELF, BME280.readTemperature()); |
|
|
telemetry.addTemperature(TELEM_CHANNEL_SELF, BME280.readTemperature()); |
|
|
telemetry.addRelativeHumidity(TELEM_CHANNEL_SELF, BME280.readHumidity()); |
|
|
telemetry.addRelativeHumidity(TELEM_CHANNEL_SELF, BME280.readHumidity()); |
|
|
telemetry.addBarometricPressure(TELEM_CHANNEL_SELF, BME280.readPressure()); |
|
|
telemetry.addBarometricPressure(TELEM_CHANNEL_SELF, BME280.readPressure()/100); |
|
|
telemetry.addAltitude(TELEM_CHANNEL_SELF, BME280.readAltitude(TELEM_BME280_SEALEVELPRESSURE_HPA)); |
|
|
telemetry.addAltitude(TELEM_CHANNEL_SELF, BME280.readAltitude(TELEM_BME280_SEALEVELPRESSURE_HPA)); |
|
|
} |
|
|
} |
|
|
#endif |
|
|
#endif |
|
|
|