Skip to content

Commit 708bf9e

Browse files
committed
Fix E6 menu
1 parent 4ce7aaa commit 708bf9e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Firmware/RTK_Everywhere/UM980.ino

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ bool um980ConfigureOnce()
172172
if (um980->isConfigurationPresent("CONFIG PPP ENABLE E6-HAS") == false)
173173
{
174174
if (um980->sendCommand("CONFIG PPP ENABLE E6-HAS") == true)
175-
systemPrintln("E6 service enabled");
175+
systemPrintln("Galileo E6 service enabled");
176176
else
177-
systemPrintln("E6 service config error");
177+
systemPrintln("Galileo E6 service config error");
178178

179179
if (um980->sendCommand("CONFIG PPP DATUM WGS84") == true)
180180
systemPrintln("WGS84 Datum applied");
@@ -195,9 +195,11 @@ bool um980ConfigureOnce()
195195
if (um980->isConfigurationPresent("CONFIG PPP ENABLE E6-HAS") == true)
196196
{
197197
if (um980->sendCommand("CONFIG PPP DISABLE") == true)
198-
systemPrintln("E6 service disabled");
198+
{
199+
//systemPrintln("Galileo E6 service disabled");
200+
}
199201
else
200-
systemPrintln("E6 service config error");
202+
systemPrintln("Galileo E6 service config error");
201203
}
202204
}
203205

@@ -1126,13 +1128,13 @@ void um980MenuConstellations()
11261128

11271129
int incoming = getUserInputNumber(); // Returns EXIT, TIMEOUT, or long
11281130

1129-
if (incoming >= 1 && incoming <= MAX_CONSTELLATIONS)
1131+
if (incoming >= 1 && incoming <= MAX_UM980_CONSTELLATIONS)
11301132
{
11311133
incoming--; // Align choice to constellation array of 0 to 5
11321134

11331135
settings.um980Constellations[incoming] ^= 1;
11341136
}
1135-
else if (incoming == MAX_CONSTELLATIONS && present.galileoHasCapable)
1137+
else if ((incoming == MAX_UM980_CONSTELLATIONS + 1) && present.galileoHasCapable)
11361138
{
11371139
settings.enableGalileoHas ^= 1;
11381140
}

0 commit comments

Comments
 (0)