We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d0450bc + 2cbe0c0 commit f5c0a74Copy full SHA for f5c0a74
1 file changed
src/helpers/sensors/EnvironmentSensorManager.cpp
@@ -12,7 +12,7 @@
12
#endif
13
#define TELEM_BME680_SEALEVELPRESSURE_HPA (1013.25)
14
#include <Adafruit_BME680.h>
15
-static Adafruit_BME680 BME680;
+static Adafruit_BME680 BME680(TELEM_WIRE);
16
17
18
#ifdef ENV_INCLUDE_BMP085
@@ -180,7 +180,7 @@ bool EnvironmentSensorManager::begin() {
180
181
182
#if ENV_INCLUDE_BME680
183
- if (BME680.begin(TELEM_BME680_ADDRESS, TELEM_WIRE)) {
+ if (BME680.begin(TELEM_BME680_ADDRESS)) {
184
MESH_DEBUG_PRINTLN("Found BME680 at address: %02X", TELEM_BME680_ADDRESS);
185
BME680_initialized = true;
186
} else {
0 commit comments