mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Help CPU load in while loop.
Tried 0.05 but it caused test failures.
This commit is contained in:
parent
1071ef58e1
commit
ea356f963a
1 changed files with 2 additions and 0 deletions
|
@ -191,6 +191,8 @@ def util_rx():
|
||||||
if time.time() >= timeout:
|
if time.time() >= timeout:
|
||||||
print("TIMEOUT REACHED")
|
print("TIMEOUT REACHED")
|
||||||
|
|
||||||
|
time.sleep(0.01)
|
||||||
|
|
||||||
if nread_exceptions:
|
if nread_exceptions:
|
||||||
print(
|
print(
|
||||||
f"nread_exceptions {nread_exceptions:d} - receive audio lost! "
|
f"nread_exceptions {nread_exceptions:d} - receive audio lost! "
|
||||||
|
|
Loading…
Reference in a new issue