Skip to content

Commit 7eeb5b9

Browse files
committed
WiFi: Rename wifiRestartRequested to restartWiFi
1 parent 6074222 commit 7eeb5b9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Firmware/RTK_Everywhere/WiFi.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,6 @@ const char * wifiSoftApPassword = nullptr;
417417
//****************************************
418418

419419
bool restartWiFi = false; // Restart WiFi if user changes anything
420-
bool wifiRestartRequested = false; // Restart WiFi if user changes anything
421420

422421
//****************************************
423422
// Locals
@@ -1118,9 +1117,9 @@ void RTK_WIFI::hostNameSet(const char * mDnsHostName)
11181117
bool RTK_WIFI::restart(bool always)
11191118
{
11201119
// Determine if restart should be perforrmed
1121-
if (always || wifiRestartRequested)
1120+
if (always || restartWiFi)
11221121
{
1123-
wifiRestartRequested = false;
1122+
restartWiFi = false;
11241123

11251124
// Determine how WiFi is being used
11261125
bool started = false;

0 commit comments

Comments
 (0)