Skip to content
Snippets Groups Projects
Commit 63f134f9 authored by patacongo's avatar patacongo
Browse files

Wrong task state

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@175 42af7a65-404d-4744-a932-0658087f49c3
parent 8b9fcf35
No related branches found
No related tags found
No related merge requests found
......@@ -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. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment