File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3232#endif // COMPILE_WIFI
3333
3434#define COMPILE_ZED // Comment out to remove ZED-F9x functionality
35- #define COMPILE_L_BAND // Comment out to remove L-Band functionality
35+ #define COMPILE_L_BAND // Comment out to remove L-Band functionality
3636#define COMPILE_UM980 // Comment out to remove UM980 functionality
3737#define COMPILE_MOSAICX5 // Comment out to remove mosaic-X5 functionality
3838#define COMPILE_LG290P // Comment out to remove LG290P functionality
Original file line number Diff line number Diff line change @@ -299,8 +299,8 @@ void menuMain()
299299 gnss->debuggingEnable ();
300300 }
301301
302- // Restart WiFi if anything changes
303- if (restartWiFi == true )
302+ // Restart WiFi if anything changes and we have consumers
303+ if (restartWiFi == true && networkConsumers () > 0 )
304304 {
305305 restartWiFi = false ;
306306
You can’t perform that action at this time.
0 commit comments