From 5257cb0b1bf1331d1e866067aa9b4f6404275acd Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Fri, 17 Apr 2026 09:38:05 -0700 Subject: [PATCH] Go ham on radio clearing in manual mode --- app/radio_sync.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/radio_sync.py b/app/radio_sync.py index e0116bd..3f2d9f9 100644 --- a/app/radio_sync.py +++ b/app/radio_sync.py @@ -461,9 +461,8 @@ async def drain_pending_messages(mc: MeshCore) -> int: Returns the count of messages retrieved. """ count = 0 - max_iterations = 100 # Safety limit - for _ in range(max_iterations): + while True: try: result = await mc.commands.get_msg(timeout=2.0)