Skip to content

Commit 3640329

Browse files
committed
Move the magic wait
1 parent daaa874 commit 3640329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

radio/tests/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ def drain_all():
168168

169169
while time.time() - start_time < TIMEOUT and pending:
170170
try:
171-
time.sleep(0.005) # For stability
172171
msg = droneStatus.drone.master.recv_match(blocking=False)
173172

174173
if msg is None:
174+
time.sleep(0.005)
175175
continue
176176

177177
if msg.get_type() != "PARAM_VALUE":

0 commit comments

Comments
 (0)