Skip to content

Commit d3be6af

Browse files
author
Scott Powell
committed
* fix for non-RAK targets
1 parent fa8c31b commit d3be6af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/sensors/EnvironmentSensorManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ static bool serialGPSFlag = false;
9696
#define TELEM_RAK12500_ADDRESS 0x42 //RAK12500 Ublox GPS via i2c
9797
#include <SparkFun_u-blox_GNSS_Arduino_Library.h>
9898
static SFE_UBLOX_GNSS ublox_GNSS;
99-
#endif
10099

101100
class RAK12500LocationProvider : public LocationProvider {
102101
long _lat = 0;
@@ -132,6 +131,7 @@ class RAK12500LocationProvider : public LocationProvider {
132131
};
133132

134133
static RAK12500LocationProvider RAK12500_provider;
134+
#endif
135135

136136
bool EnvironmentSensorManager::begin() {
137137
#if ENV_INCLUDE_GPS

0 commit comments

Comments
 (0)