Skip to content

Commit b6f8abe

Browse files
committed
Update Facet_Flex_Variant with better names
1 parent 74f5260 commit b6f8abe

File tree

2 files changed

+245
-244
lines changed

2 files changed

+245
-244
lines changed

Firmware/RTK_Everywhere/menuCommands.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3495,11 +3495,11 @@ bool settingAvailableOnPlatform(int i)
34953495
{
34963496
// TODO: check if we need to tighten up the logic here
34973497
// Maybe settings.detectedGnssReceiver and Facet_Flex_Variant should be amalgamated somehow?
3498-
if (rtkSettingsEntries[i].platFlex == FFA) // All
3498+
if (rtkSettingsEntries[i].platFlex == ALL) // All
34993499
break;
3500-
if ((rtkSettingsEntries[i].platFlex == FFL) && (settings.detectedGnssReceiver == GNSS_RECEIVER_LG290P))
3500+
if ((rtkSettingsEntries[i].platFlex == L29) && (settings.detectedGnssReceiver == GNSS_RECEIVER_LG290P))
35013501
break;
3502-
if ((rtkSettingsEntries[i].platFlex == FFM) && (settings.detectedGnssReceiver == GNSS_RECEIVER_MOSAIC_X5))
3502+
if ((rtkSettingsEntries[i].platFlex == MX5) && (settings.detectedGnssReceiver == GNSS_RECEIVER_MOSAIC_X5))
35033503
break;
35043504
}
35053505
return false;
@@ -3525,7 +3525,7 @@ bool settingPossibleOnPlatform(int i)
35253525
break;
35263526
if ((productVariant == RTK_POSTCARD) && rtkSettingsEntries[i].platPostcard)
35273527
break;
3528-
if ((productVariant == RTK_FLEX) && (rtkSettingsEntries[i].platFlex > FFN))
3528+
if ((productVariant == RTK_FLEX) && (rtkSettingsEntries[i].platFlex > NON))
35293529
break;
35303530
return false;
35313531
} while (0);

0 commit comments

Comments
 (0)