Skip to content

Commit 7945954

Browse files
committed
Allow LBand config is keys are available, but no wifi
1 parent 80acdd0 commit 7945954

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Firmware/RTK_Surveyor/RTK_Surveyor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424

2525
const int FIRMWARE_VERSION_MAJOR = 2;
26-
const int FIRMWARE_VERSION_MINOR = 1;
26+
const int FIRMWARE_VERSION_MINOR = 2;
2727

2828
#define COMPILE_WIFI //Comment out to remove WiFi functionality
2929
#define COMPILE_BT //Comment out to remove Bluetooth functionality

Firmware/RTK_Surveyor/States.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,8 +1121,8 @@ void updateSystemState()
11211121
changeState(settings.lastState); //Go to either rover or base
11221122
}
11231123

1124-
//If there is no WiFi setup, skip everything
1125-
else if (strlen(settings.home_wifiSSID) == 0)
1124+
//If there is no WiFi setup, and no keys, skip everything
1125+
else if (strlen(settings.home_wifiSSID) == 0 && strlen(settings.pointPerfectCurrentKey) == 0)
11261126
{
11271127
changeState(settings.lastState); //Go to either rover or base
11281128
}

0 commit comments

Comments
 (0)