diff --git a/src/bme_utils.cpp b/src/bme_utils.cpp index 6f13538..0d1f551 100644 --- a/src/bme_utils.cpp +++ b/src/bme_utils.cpp @@ -58,12 +58,12 @@ namespace BME_Utils { if (wxModuleAddress != 0x00) { bool wxModuleFound = false; if (wxModuleAddress == 0x76 || wxModuleAddress == 0x77) { - #ifdef HELTEC_V3 - if (bme280.begin(wxModuleAddress, &Wire1)) { - Serial.println("BME280 sensor found"); - wxModuleType = 1; - wxModuleFound = true; - } + #if defined(HELTEC_V3) || defined(HELTEC_WSL_V3) || defined(HELTEC_WSL_V3_DISPLAY) + if (bme280.begin(wxModuleAddress, &Wire1)) { + Serial.println("BME280 sensor found"); + wxModuleType = 1; + wxModuleFound = true; + } #else if (bme280.begin(wxModuleAddress)) { Serial.println("BME280 sensor found"); diff --git a/src/digi_utils.cpp b/src/digi_utils.cpp index c09b2d8..c64e784 100644 --- a/src/digi_utils.cpp +++ b/src/digi_utils.cpp @@ -62,7 +62,7 @@ namespace DIGI_Utils { } if (temp.indexOf(",") > 2) { // checks for path const String& path = temp.substring(temp.indexOf(",") + 1); // after tocall - if (Config.digi.mode == 2 && path.indexOf("WIDE1-1") != - 1) { + if ((Config.digi.mode == 2 || backUpDigiMode) && path.indexOf("WIDE1-1") != - 1) { return buildPacket(path, packet, thirdParty); } else if (Config.digi.mode == 3) { int wide1Index = path.indexOf("WIDE1-1");