Skip to content

Commit 44fbb6b

Browse files
committed
Add "No SSIDs" error display.
1 parent af5b104 commit 44fbb6b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Firmware/RTK_Surveyor/Display.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1883,6 +1883,11 @@ void displayNoWiFi(uint16_t displayTime)
18831883
displayMessage("No WiFi", displayTime);
18841884
}
18851885

1886+
void displayNoSSIDs(uint16_t displayTime)
1887+
{
1888+
displayMessage("No SSIDs", displayTime);
1889+
}
1890+
18861891
void displayRoverStart(uint16_t displayTime)
18871892
{
18881893
if (online.display == true)

Firmware/RTK_Surveyor/States.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ void updateSystemState()
744744
// If there is no WiFi setup, and no keys, skip everything
745745
else if (wifiNetworkCount() == 0 && strlen(settings.pointPerfectCurrentKey) == 0)
746746
{
747-
displayNoWiFi(2000);
747+
displayNoSSIDs(2000);
748748
changeState(settings.lastState); // Go to either rover or base
749749
}
750750

@@ -821,7 +821,7 @@ void updateSystemState()
821821
// Normally, this would be caught during STATE_KEYS_STARTED
822822
else if (wifiNetworkCount() == 0)
823823
{
824-
displayNoWiFi(1000);
824+
displayNoSSIDs(1000);
825825
changeState(
826826
STATE_KEYS_DAYS_REMAINING); // We have valid keys, we've already tried today. No need to try again.
827827
}

0 commit comments

Comments
 (0)