Manually trigger graphics loops updates on msgs from the fsp chain

m4_corrections
Tyler Goodlet 2022-03-06 17:04:03 -05:00
parent 2c9ecbae9a
commit f365e4a465
1 changed files with 6 additions and 0 deletions

View File

@ -437,7 +437,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(