Skip to content

Commit 6fb5b05

Browse files
authored
Merge pull request #680 from LeeLeahy2/no-key-prov-timeout
Remove state STATE_KEYS_PROVISION_WIFI_TIMEOUT
2 parents e90e121 + 768e254 commit 6fb5b05

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

Firmware/RTK_Surveyor/Display.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,6 @@ void updateDisplay()
428428
iconsRadio = setWiFiIcon(); // Blink WiFi in center
429429
paintGettingKeys();
430430
break;
431-
case (STATE_KEYS_PROVISION_WIFI_TIMEOUT):
432-
// Do nothing. Quick, fall through state.
433-
break;
434431

435432
case (STATE_ESPNOW_PAIRING_NOT_STARTED):
436433
paintEspNowPairing();

Firmware/RTK_Surveyor/States.ino

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -954,13 +954,6 @@ void updateSystemState()
954954
}
955955
}
956956
break;
957-
958-
case (STATE_KEYS_PROVISION_WIFI_TIMEOUT): {
959-
paintKeyWiFiFail(2000);
960-
961-
changeState(settings.lastState); // Go to either rover or base
962-
}
963-
break;
964957
#endif // COMPILE_L_BAND
965958

966959
case (STATE_ESPNOW_PAIRING_NOT_STARTED): {
@@ -1245,8 +1238,6 @@ const char * getState(SystemState state, char * buffer)
12451238
return "STATE_KEYS_PROVISION_WIFI_STARTED";
12461239
case (STATE_KEYS_PROVISION_WIFI_CONNECTED):
12471240
return "STATE_KEYS_PROVISION_WIFI_CONNECTED";
1248-
case (STATE_KEYS_PROVISION_WIFI_TIMEOUT):
1249-
return "STATE_KEYS_PROVISION_WIFI_TIMEOUT";
12501241
#endif // COMPILE_L_BAND
12511242

12521243
case (STATE_ESPNOW_PAIRING_NOT_STARTED):

Firmware/RTK_Surveyor/settings.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ typedef enum
3333
STATE_KEYS_LBAND_ENCRYPTED,
3434
STATE_KEYS_PROVISION_WIFI_STARTED,
3535
STATE_KEYS_PROVISION_WIFI_CONNECTED,
36-
STATE_KEYS_PROVISION_WIFI_TIMEOUT,
3736
STATE_ESPNOW_PAIRING_NOT_STARTED,
3837
STATE_ESPNOW_PAIRING,
3938
STATE_NTPSERVER_NOT_STARTED,
@@ -980,7 +979,7 @@ typedef struct
980979
uint32_t shutdownNoChargeTimeout_s = 0; // If > 0, shut down unit after timeout if not charging
981980
bool disableSetupButton = false; // By default, allow setup through the overlay button(s)
982981
bool useI2cForLbandCorrections = true; //Set to false to stop I2C callback. Corrections will require direct ZED to NEO UART2 connections.
983-
bool useI2cForLbandCorrectionsConfigured = false; //If a user sets useI2cForLbandCorrections, this goes true.
982+
bool useI2cForLbandCorrectionsConfigured = false; //If a user sets useI2cForLbandCorrections, this goes true.
984983

985984
// Ethernet
986985
bool enablePrintEthernetDiag = false;
@@ -1062,7 +1061,7 @@ typedef struct
10621061
uint16_t pvtServerPort = 2948; // PVT server port, 2948 is GPS Daemon: http://tcp-udp-ports.com/port-2948.htm
10631062

10641063
uint8_t rtcmTimeoutBeforeUsingLBand_s = 10; //If 10s have passed without RTCM, enable PMP corrections over L-Band if available
1065-
1064+
10661065
//Add new settings above
10671066
//<------------------------------------------------------------>
10681067

0 commit comments

Comments
 (0)