Skip to content

Commit

Permalink
Terminate data collection on radio error
Browse files Browse the repository at this point in the history
  • Loading branch information
misko committed Dec 29, 2024
1 parent e48c5f4 commit b2dd9ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spf/data_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def read_forever(self):
data = self.get_data()
except Exception as e:
logging.error(f"Failed to read data , aborting {e}")
self.read_q.put(None, timeout=5)
self.run = False
continue
put_on_queue = False
Expand Down

0 comments on commit b2dd9ce

Please sign in to comment.