Updates further
This commit is contained in:
1 parent
1b781e93bf
commit
ab110013c0
1 file changed
+2
-1
@@ -97,6 +97,7 @@ async def index(request):
|
|||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
def reconnect_wifi():
|
def reconnect_wifi():
|
||||||
while not wlan.isconnected():
|
while not wlan.isconnected():
|
||||||
try:
|
try:
|
||||||
@@ -153,7 +154,6 @@ try:
|
|||||||
except:
|
except:
|
||||||
# Failed to open file, launch AP mode
|
# Failed to open file, launch AP mode
|
||||||
start_ap()
|
start_ap()
|
||||||
start_http_server()
|
|
||||||
|
|
||||||
# Halt waiting for config
|
# Halt waiting for config
|
||||||
while(True):
|
while(True):
|
||||||
@@ -212,3 +212,4 @@ while(True):
|
|||||||
wled.write()
|
wled.write()
|
||||||
|
|
||||||
asyncio.wait(1)
|
asyncio.wait(1)
|
||||||
|
|
||||||
Reference in new issue
Block a user