This commit is contained in:
NickDunklee 2026-04-20 13:49:42 -06:00 committed by GitHub
commit 041c91a654
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -382,7 +382,7 @@ bool EnvironmentSensorManager::querySensors(uint8_t requester_permissions, Cayen
telemetry.addRelativeHumidity(TELEM_CHANNEL_SELF, BME680.humidity);
telemetry.addBarometricPressure(TELEM_CHANNEL_SELF, BME680.pressure / 100);
telemetry.addAltitude(TELEM_CHANNEL_SELF, 44330.0 * (1.0 - pow((BME680.pressure / 100) / TELEM_BME680_SEALEVELPRESSURE_HPA, 0.1903)));
telemetry.addAnalogInput(next_available_channel, BME680.gas_resistance);
telemetry.addGenericSensor(next_available_channel, BME680.gas_resistance);
next_available_channel++;
}
}