1
0
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:
Hemna 2024-11-23 09:14:43 -05:00
parent 76d275db9c
commit 98a96cbe34

View File

@ -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):