mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
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:
@@ -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. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user