Skip to content

Commit cbdbae9

Browse files
committed
menuCommands: Fix createSettingsString
1 parent 6672650 commit cbdbae9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Firmware/RTK_Everywhere/menuCommands.ino

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,6 +1431,7 @@ void createSettingsString(char *newSettings)
14311431
{
14321432
char tagText[80];
14331433
char nameText[64];
1434+
RTK_Settings_Types type;
14341435

14351436
newSettings[0] = '\0'; // Erase current settings string
14361437

@@ -1451,7 +1452,13 @@ void createSettingsString(char *newSettings)
14511452
{
14521453
if (rtkSettingsEntries[i].inWebConfig && (settingAvailableOnPlatform(i) == true))
14531454
{
1454-
switch (rtkSettingsEntries[i].type)
1455+
// Handle GNSS specific types
1456+
type = rtkSettingsEntries[i].type;
1457+
if (gnssCreateString(type, i, newSettings))
1458+
continue;
1459+
1460+
// Handle the generic types
1461+
switch (type)
14551462
{
14561463
default:
14571464
break;

0 commit comments

Comments
 (0)