File tree Expand file tree Collapse file tree 4 files changed +4
-10
lines changed Expand file tree Collapse file tree 4 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ uint32_t wifiGetStartTimeout() {return 0;}
207
207
int wifiNetworkCount () {return 0 ;}
208
208
void wifiResetThrottleTimeout () {}
209
209
void wifiResetTimeout () {}
210
- #define WIFI_SOFT_AP_RUNNING () { return false ;}
210
+ #define WIFI_SOFT_AP_RUNNING () false
211
211
bool wifiStart () {return false ;}
212
212
bool wifiStationIsRunning () {return false ;}
213
213
#define WIFI_STOP () {}
Original file line number Diff line number Diff line change @@ -131,8 +131,6 @@ NETWORK_POLL_SEQUENCE *networkSequence[NETWORK_OFFLINE];
131
131
132
132
NetMask_t networkMdnsRunning; // Non-zero when mDNS is running
133
133
134
- extern bool restartWiFi; // From WiFi.ino
135
-
136
134
// ----------------------------------------
137
135
// Menu for configuring TCP/UDP interfaces
138
136
// ----------------------------------------
Original file line number Diff line number Diff line change @@ -317,6 +317,8 @@ RTK_WIFI wifi(false);
317
317
}
318
318
#endif // COMPILE_WIFI
319
319
320
+ bool restartWiFi = false ; // Restart WiFi if user changes anything
321
+
320
322
#define MQTT_CLIENT_STOP (shutdown ) \
321
323
{ \
322
324
if (settings.debugNetworkLayer || settings.debugMqttClientState ) \
@@ -1503,7 +1505,7 @@ void logUpdate()
1503
1505
if (logFileSize > 0 )
1504
1506
{
1505
1507
lastFileReport = millis ();
1506
-
1508
+
1507
1509
if (settings.enablePrintLogFileStatus )
1508
1510
{
1509
1511
systemPrintf (" Log file size: %lld" , logFileSize);
Original file line number Diff line number Diff line change @@ -412,12 +412,6 @@ const int wifiStartNamesEntries = sizeof(wifiStartNames) / sizeof(wifiStartNames
412
412
const char * wifiSoftApSsid = " RTK Config" ;
413
413
const char * wifiSoftApPassword = nullptr ;
414
414
415
- // ****************************************
416
- // Globals
417
- // ****************************************
418
-
419
- bool restartWiFi = false ; // Restart WiFi if user changes anything
420
-
421
415
// ****************************************
422
416
// Locals
423
417
// ****************************************
You can’t perform that action at this time.
0 commit comments