Wrong task state

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@175 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2007-03-29 14:22:29 +00:00
parent 8b9fcf354e
commit 63f134f988

View File

@ -109,7 +109,7 @@ static void mq_sndtimeout(int argc, uint32 pid, ...)
* punch and already changed the task's state.
*/
if (wtcb && wtcb->task_state == TSTATE_WAIT_MQNOTEMPTY)
if (wtcb && wtcb->task_state == TSTATE_WAIT_MQNOTFULL)
{
/* Mark the errno value for the thread. */