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:
parent
8b9fcf354e
commit
63f134f988
@ -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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user