kopia lustrzana https://github.com/tayfunulu/WiFiManager
stop AP once station mode is configured
rodzic
b86a900cf5
commit
6a2eb38717
|
@ -275,6 +275,8 @@ def start(port=80):
|
|||
|
||||
while True:
|
||||
if wlan_sta.isconnected():
|
||||
# stop AP mode to save energy
|
||||
wlan_ap.active(False)
|
||||
return True
|
||||
|
||||
client, addr = server_socket.accept()
|
||||
|
|
Ładowanie…
Reference in New Issue