Skip to content

Commit

Permalink
fix for swo thread
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanherbstgrapple committed Jan 15, 2025
1 parent 5166025 commit 6de66b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyocd/probe/pydapaccess/interface/pyusb_v2_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def start_rx(self):

def start_swo(self):
thread_name = "SWO receive (%s)" % self.serial_number
self._swo_thread_did_exit = False
self.swo_thread = threading.Thread(target=self.swo_rx_task, name=thread_name)
self.swo_thread.daemon = True
self.swo_thread.start()
Expand Down

0 comments on commit 6de66b5

Please sign in to comment.