Manually trigger graphics loops updates on msgs from the fsp chain

mkts_backup
Tyler Goodlet 2022-03-06 17:04:03 -05:00
parent ef0516a84b
commit b0e236fadf
1 changed files with 6 additions and 0 deletions

View File

@ -438,7 +438,13 @@ class FspAdmin:
started.set() started.set()
from ._display import trigger_update
# wait for graceful shutdown signal # wait for graceful shutdown signal
async with stream.subscribe() as stream:
async for msg in stream:
trigger_update()
await complete.wait() await complete.wait()
async def start_engine_task( async def start_engine_task(