fix(led-driver): stop loading patterns main and sync tick call

This commit is contained in:
2026-04-14 23:13:16 +12:00
parent 0a33f399e1
commit 87bd0338bd
4 changed files with 10 additions and 139 deletions

View File

@@ -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)