diff --git a/examples/src/micropython-webserver/main.py b/examples/src/micropython-webserver/main.py index 3b92fae..fd946e6 100755 --- a/examples/src/micropython-webserver/main.py +++ b/examples/src/micropython-webserver/main.py @@ -97,6 +97,7 @@ async def index(request): return response + def reconnect_wifi(): while not wlan.isconnected(): try: @@ -153,7 +154,6 @@ try: except: # Failed to open file, launch AP mode start_ap() - start_http_server() # Halt waiting for config while(True): @@ -212,3 +212,4 @@ while(True): wled.write() asyncio.wait(1) +