fix(led-driver): stop loading patterns main and sync tick call
This commit is contained in:
@@ -58,7 +58,7 @@ async def ws_handler(request, ws):
|
||||
|
||||
async def presets_loop():
|
||||
while True:
|
||||
await presets.tick()
|
||||
presets.tick()
|
||||
wdt.feed()
|
||||
# tick() does not await; yield so UDP hello and HTTP/WebSocket can run.
|
||||
await asyncio.sleep(0)
|
||||
|
||||
Reference in New Issue
Block a user