Browse Source

Am idiot, and deleted some of the adafruit code path

I put it back and test-compiled a few builds.
pull/2634/head
Nick Dunklee 1 week ago
parent
commit
e501704d2c
  1. 9
      src/helpers/sensors/EnvironmentSensorManager.cpp

9
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 <Adafruit_BME680.h>
static Adafruit_BME680 BME680(TELEM_WIRE);
#endif
#ifdef ENV_INCLUDE_BMP085
#define TELEM_BMP085_SEALEVELPRESSURE_HPA (1013.25)
#include <Adafruit_BMP085.h>

Loading…
Cancel
Save