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
+3 -3
+3 -3
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();
@@ -566,4 +566,4 @@ void bat_check()
}
else
bat_check_num++;
}
}