Limit repeater GPS acquisition and repair CI tests

This commit is contained in:
mikecarper committed 2026-09-16 21:27:15 -07:00
1 parent 9610cc4245
commit cdd84bdb9f
8 files changed
+84 -9

No files matched your search

+8
View File
@@ -18,6 +18,7 @@ class SensorManager {
bool gps_location_access_available = false;
bool gps_transport_available = true;
bool gps_user_enabled = false;
bool gps_stop_after_fix = false;
bool gps_acquiring = false;
bool gps_acquire_has_fix = false;
float gps_cache_lat = 0;
@@ -100,6 +101,13 @@ public:
}
virtual void loop() { }
virtual void setTelemetryLocationAccessAvailable(bool available);
void setGpsTelemetryStopAfterFix(bool enabled) {
#if ENV_INCLUDE_GPS
gps_stop_after_fix = enabled;
#else
(void)enabled;
#endif
}
virtual int getNumSettings() const { return 0; }
virtual const char* getSettingName(int i) const { return NULL; }
virtual const char* getSettingValue(int i) const { return NULL; }