Skip to content

Commit d890ad7

Browse files
me-no-devCopilot
andauthored
fix(doc): Update docs/en/api/network.rst
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 70f3740 commit d890ad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/api/network.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ The Network Manager allows you to manage multiple network interfaces simultaneou
969969
Network.setDefaultInterface(ETH);
970970
Serial.println("Using Ethernet");
971971
} else if (WiFi.STA.status() == WL_CONNECTED) {
972-
Network.setDefaultInterface(WiFi);
972+
Network.setDefaultInterface(WiFi.STA);
973973
Serial.println("Using WiFi");
974974
}
975975
}

0 commit comments

Comments
 (0)