Skip to content

Commit 647fead

Browse files
authored
probe: pyusb_v2: fix rx_task setting the wrong *_thread_did_exit flag (#1824)
1 parent cffd0c6 commit 647fead

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyocd/probe/pydapaccess/interface/pyusb_v2_backend.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Copyright (c) 2019-2021 Arm Limited
33
# Copyright (c) 2021 mentha
44
# Copyright (c) 2021-2023 Chris Reed
5+
# Copyright (c) 2025 Lars Häring
56
# SPDX-License-Identifier: Apache-2.0
67
#
78
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -186,7 +187,7 @@ def rx_task(self):
186187
TRACE.debug("rx_task exception: %s", err)
187188
self._read_thread_exception = err
188189
finally:
189-
self._swo_thread_did_exit = True
190+
self._read_thread_did_exit = True
190191

191192
def swo_rx_task(self):
192193
try:

0 commit comments

Comments
 (0)