Skip to content

Commit f297984

Browse files
committed
Don't start network if not present
1 parent d564adc commit f297984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Everywhere/Network.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ void networkUpdate()
13161316
for (int index = NETWORK_WIFI; index < NETWORK_OFFLINE; index++)
13171317
{
13181318
NetMask_t bitMask = 1 << index;
1319-
if (networkInterfaceTable[index].stop)
1319+
if (networkInterfaceTable[index].stop && networkIsPresent(index))
13201320
{
13211321
// Start this network
13221322
systemPrintf("Starting %s\r\n", networkGetNameByIndex(index));

0 commit comments

Comments
 (0)