File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ void tcpServerUpdate()
460
460
// Wait until the network is connected
461
461
case TCP_SERVER_STATE_WAIT_FOR_NETWORK:
462
462
// Wait until the network is connected to the media
463
- if (connected || wifiSoftApRunning )
463
+ if (connected || wifiSoftApOnline )
464
464
{
465
465
// Delay before starting the TCP server
466
466
if ((millis () - tcpServerTimer) >= (1 * 1000 ))
@@ -481,7 +481,7 @@ void tcpServerUpdate()
481
481
// Handle client connections and link failures
482
482
case TCP_SERVER_STATE_RUNNING:
483
483
// Determine if the network has failed
484
- if ((connected == false && wifiSoftApRunning == false ) || (!settings.enableTcpServer && !settings.baseCasterOverride ))
484
+ if ((connected == false && wifiSoftApOnline == false ) || (!settings.enableTcpServer && !settings.baseCasterOverride ))
485
485
{
486
486
if ((settings.debugTcpServer || PERIODIC_DISPLAY (PD_TCP_SERVER_DATA)) && (!inMainMenu))
487
487
{
You can’t perform that action at this time.
0 commit comments