mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-31 16:52:10 +01:00
LP-470 bump google sat version from 694 to 711
also make sure to use the GCS_GOOGLE_SAT_VERSION env value only if higher to default
This commit is contained in:
parent
cf1b64966e
commit
83df6c0d36
@ -40,9 +40,10 @@ const QString ProviderStrings::levelsForSigPacSpainMap[] = {
|
||||
ProviderStrings::ProviderStrings()
|
||||
{
|
||||
// Google version strings
|
||||
VersionGoogleMap = "m@301";
|
||||
QString version = qgetenv("GCS_GOOGLE_SAT_VERSION").constData();
|
||||
VersionGoogleSatellite = version.isEmpty() ? "694" : version;
|
||||
VersionGoogleMap = "m@301";
|
||||
QString version = "711";
|
||||
QString envVersion = qgetenv("GCS_GOOGLE_SAT_VERSION").constData();
|
||||
VersionGoogleSatellite = (envVersion.toInt() > version.toInt()) ? envVersion : version;
|
||||
VersionGoogleLabels = "h@301";
|
||||
VersionGoogleTerrain = "t@132,r@301";
|
||||
SecGoogleWord = "Galileo";
|
||||
|
Loading…
x
Reference in New Issue
Block a user