Change default wifi mode to AP.

This commit is contained in:
Shibo Mu authored and GitHub committed 2024-08-31 10:48:49 +08:00
1 parent 178acaf39e
commit a9653a59af
1 file changed
+2 -2
+2 -2
View File
@@ -152,8 +152,8 @@ void setup() {
Serial2.begin(1000000);//腿部sts舵机
//Wifi初始化
//WiFi_SetAP();
set_sta_wifi(); // ESP-01S STA模式接入WiFi网络
WiFi_SetAP();
// set_sta_wifi(); // ESP-01S STA模式接入WiFi网络
webserver.begin();
webserver.on("/", HTTP_GET, basicWebCallback);
websocket.begin();