Go ham on radio clearing in manual mode

This commit is contained in:
Jack Kingsman
2026-04-17 09:38:05 -07:00
parent b1547773c5
commit 5257cb0b1b
+1 -2
View File
@@ -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)