We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96458d9 + 719afa8 commit 860b61cCopy full SHA for 860b61c
pyocd/rtos/rtx5.py
@@ -209,7 +209,7 @@ def read_core_registers_raw(self, reg_list):
209
return reg_vals
210
211
class RTXTargetThread(TargetThread):
212
- """! @brief Base class representing a thread on the target."""
+ """! @brief Represents an RTX5 thread on the target."""
213
214
STATE_OFFSET = 1
215
NAME_OFFSET = 4
@@ -278,7 +278,7 @@ def context(self):
278
279
@property
280
def description(self):
281
- return "%s; Priority %d" % (self.STATES[self._state], self.priority)
+ return "%s; Priority %d" % (self.STATES.get(self._state, "(Invalid)"), self.priority)
282
283
284
def name(self):
0 commit comments