better output

This commit is contained in:
Bob 2025-12-15 11:30:45 -08:00
parent 1b6e61bdb4
commit 40f77d324d
1 changed files with 5 additions and 1 deletions

View File

@ -179,7 +179,11 @@ async def async_main(args, devices):
# Give a brief moment for all serial ports to open and "settle" # Give a brief moment for all serial ports to open and "settle"
await asyncio.sleep(0.5) await asyncio.sleep(0.5)
print(">>> TRIGGERING ALL DEVICES <<<") if len(devices) > 1:
print(f">>> TRIGGERING {len(devices)} DEVICES <<<")
else:
print(f">>> TRIGGERING {devices[0]} <<<")
sync_event.set() # Unblocks all devices instantly sync_event.set() # Unblocks all devices instantly
results = await asyncio.gather(*tasks) results = await asyncio.gather(*tasks)