diff options
-rw-r--r-- | readme.txt | 1 | ||||
-rw-r--r-- | src/include/threads.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/readme.txt b/readme.txt index a48834cbc..4348c6cba 100644 --- a/readme.txt +++ b/readme.txt @@ -49,6 +49,7 @@ AVR-AT90CANx-GCC - Port on AVR AT90CAN128, not complete yet. to keep the processor in the state it had when it was halted.
Note: This is not a kernel bug but something specific with the ARM port, the
other ports are not affected.
+- Fixed the macro chThdResumeI(), it had a regression.
*** 0.4.4 ***
- Fixed a very important bug in the preemption ARM code, important enough to
diff --git a/src/include/threads.h b/src/include/threads.h index ee00039b3..0783c4e9a 100644 --- a/src/include/threads.h +++ b/src/include/threads.h @@ -219,7 +219,7 @@ extern "C" { * \p chThdSuspend().
* @param tp the pointer to the thread
*/
-#define chThdResumeI(tp) chSchReadyI(tp)
+#define chThdResumeI(tp) chSchReadyI((tp), RDY_OK)
#endif /* _THREADS_H_ */
|