We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70f3740 commit d890ad7Copy full SHA for d890ad7
docs/en/api/network.rst
@@ -969,7 +969,7 @@ The Network Manager allows you to manage multiple network interfaces simultaneou
969
Network.setDefaultInterface(ETH);
970
Serial.println("Using Ethernet");
971
} else if (WiFi.STA.status() == WL_CONNECTED) {
972
- Network.setDefaultInterface(WiFi);
+ Network.setDefaultInterface(WiFi.STA);
973
Serial.println("Using WiFi");
974
}
975
0 commit comments