Skip to content

Commit 93ac4da

Browse files
committed
Fix compile guard
1 parent d50f2c4 commit 93ac4da

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Firmware/RTK_Everywhere/NVM.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,8 +1310,8 @@ bool parseLine(char *str)
13101310
break;
13111311
}
13121312
}
1313+
#endif // COMPILE_LG290P
13131314
}
1314-
#endif
13151315
break;
13161316
case tCnRtRtB: {
13171317
#ifdef COMPILE_UM980
@@ -1337,8 +1337,8 @@ bool parseLine(char *str)
13371337
break;
13381338
}
13391339
}
1340+
#endif // COMPILE_LG290P
13401341
}
1341-
#endif
13421342
break;
13431343
case tCnRtRtR: {
13441344
#ifdef COMPILE_UM980
@@ -1364,8 +1364,8 @@ bool parseLine(char *str)
13641364
break;
13651365
}
13661366
}
1367+
#endif // COMPILE_LG290P
13671368
}
1368-
#endif
13691369
break;
13701370

13711371
#ifdef COMPILE_ZED

Firmware/RTK_Everywhere/menuCommands.ino

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
768768
#endif // COMPILE_LG290P
769769
}
770770
break;
771+
771772
case tCmnRtNm: {
772773
#ifdef COMPILE_UM980
773774
for (int x = 0; x < MAX_UM980_NMEA_MSG; x++)
@@ -792,8 +793,8 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
792793
break;
793794
}
794795
}
795-
}
796796
#endif
797+
}
797798
break;
798799
case tCnRtRtB: {
799800
#ifdef COMPILE_UM980
@@ -819,8 +820,8 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
819820
break;
820821
}
821822
}
822-
}
823823
#endif
824+
}
824825
break;
825826
case tCnRtRtR: {
826827
#ifdef COMPILE_UM980
@@ -846,8 +847,8 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
846847
break;
847848
}
848849
}
849-
}
850850
#endif
851+
}
851852
break;
852853

853854
#ifdef COMPILE_ZED

0 commit comments

Comments
 (0)