1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

Merged in filnet/librepilot/LP-470_google_sat_version_upgrade (pull request #379)

LP-470 bump google sat version
This commit is contained in:
Lalanne Laurent 2017-01-27 20:20:50 +00:00
commit e82921c70c

View File

@ -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 = "713";
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";