Limit repeater GPS acquisition and repair CI tests
This commit is contained in:
1 parent
9610cc4245
commit
cdd84bdb9f
8 files changed
+84
-9
No files matched your search
@@ -204,6 +204,9 @@ void setup() {
|
||||
#endif
|
||||
|
||||
#if ENV_INCLUDE_GPS == 1
|
||||
// With GPS manually off, an authorized location telemetry request may wake
|
||||
// the receiver only until the first valid fix has been cached.
|
||||
sensors.setGpsTelemetryStopAfterFix(true);
|
||||
if (sensors.getLocationProvider() != NULL) {
|
||||
// Keep GPS awake for at most 10 minutes, then asleep for one day.
|
||||
sensors.getLocationProvider()->setPowerSavingProfile(600, 86400);
|
||||
|
||||
Reference in new issue
Block a user