From b196b277b9fe301ee2fa73f45be4d5e55d74e402 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 13 Dec 2007 14:05:37 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@139 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- readme.txt | 1 + src/include/threads.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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_ */ -- cgit v1.2.3