[wifi] scan
This commit is contained in:
1 parent
e10b628bf9
commit
aa0b1bc76a
1 file changed
+4
-1
+4
-1
@@ -290,7 +290,10 @@ def submit():
|
||||
# 关闭热点
|
||||
close_hotspot()
|
||||
|
||||
time.sleep(2)
|
||||
time.sleep(1)
|
||||
scan_wifi()
|
||||
time.sleep(1)
|
||||
|
||||
# 连接到用户选择的 Wi-Fi 网络
|
||||
if connect_wifi(ssid, password):
|
||||
close_app()
|
||||
|
||||
Reference in new issue
Block a user