mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
配网后增加延时,等待设备返回状态码
This commit is contained in:
@@ -69,8 +69,9 @@ void connectWifi()
|
||||
{
|
||||
if (isApMode)
|
||||
{
|
||||
// 关闭AP配网模式
|
||||
// 关闭AP配网模式,延迟2秒确保返回状态码给手机
|
||||
isApMode = false;
|
||||
delay(2000);
|
||||
server.stop();
|
||||
ledStatus(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user