From e501704d2c20289e453b5c61b499ba6bc10cd330 Mon Sep 17 00:00:00 2001 From: Nick Dunklee Date: Wed, 27 May 2026 16:28:15 -0600 Subject: [PATCH] Am idiot, and deleted some of the adafruit code path I put it back and test-compiled a few builds. --- src/helpers/sensors/EnvironmentSensorManager.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/helpers/sensors/EnvironmentSensorManager.cpp b/src/helpers/sensors/EnvironmentSensorManager.cpp index 087d5515..e910d779 100644 --- a/src/helpers/sensors/EnvironmentSensorManager.cpp +++ b/src/helpers/sensors/EnvironmentSensorManager.cpp @@ -34,6 +34,15 @@ static bool bsec_data_ready = false; #define BSEC_STATE_FILE "/bsec_state.bin" #endif +#ifdef ENV_INCLUDE_BME680 +#ifndef TELEM_BME680_ADDRESS +#define TELEM_BME680_ADDRESS 0x76 +#endif +#define TELEM_BME680_SEALEVELPRESSURE_HPA (1013.25) +#include +static Adafruit_BME680 BME680(TELEM_WIRE); +#endif + #ifdef ENV_INCLUDE_BMP085 #define TELEM_BMP085_SEALEVELPRESSURE_HPA (1013.25) #include