mirror of
https://github.com/craigerl/aprsd.git
synced 2025-08-17 20:32:24 -04:00
Make sure to sleep(1) in the main RX thread
In case the consumer can't run, we need to sleep in the main loop of the RX thread in case we are paused.
This commit is contained in:
parent
76d275db9c
commit
98a96cbe34
@ -70,6 +70,7 @@ class APRSDRXThread(APRSDThread):
|
||||
self._client.reset()
|
||||
time.sleep(5)
|
||||
# Continue to loop
|
||||
time.sleep(1)
|
||||
return True
|
||||
|
||||
def _process_packet(self, *args, **kwargs):
|
||||
|
Loading…
x
Reference in New Issue
Block a user