diff options
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/include/sched.h | 2 | ||||
-rw-r--r-- | nuttx/sched/os_start.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/include/sched.h b/nuttx/include/sched.h index 39945c69c..51fa19b95 100644 --- a/nuttx/include/sched.h +++ b/nuttx/include/sched.h @@ -94,7 +94,7 @@ typedef enum tstate_e TSTATE_TASK_INACTIVE = 4, /* BLOCKED - Initialized but not yet activated */ TSTATE_WAIT_SEM = 5, /* BLOCKED - Waiting for a semaphore */ -#ifndef CONFIG_DISABLE_MQUEUE +#ifndef CONFIG_DISABLE_SIGNALS TSTATE_WAIT_SIG = 6, /* BLOCKED - Waiting for a signal */ #endif #ifndef CONFIG_DISABLE_MQUEUE diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c index 30a8cb587..935eef66d 100644 --- a/nuttx/sched/os_start.c +++ b/nuttx/sched/os_start.c @@ -168,7 +168,7 @@ const tasklist_t g_tasklisttable[NUM_TASK_STATES] = { &g_readytorun, TRUE }, /* TSTATE_TASK_RUNNING */ { &g_inactivetasks, FALSE }, /* TSTATE_TASK_INACTIVE */ { &g_waitingforsemaphore, TRUE }, /* TSTATE_WAIT_SEM */ -#ifndef CONFIG_DISABLE_MQUEUE +#ifndef CONFIG_DISABLE_SIGNALS { &g_waitingforsignal, FALSE }, /* TSTATE_WAIT_SIG */ #endif #ifndef CONFIG_DISABLE_MQUEUE @@ -220,7 +220,7 @@ void os_start(void) dq_init(&g_readytorun); dq_init(&g_pendingtasks); dq_init(&g_waitingforsemaphore); -#ifndef CONFIG_DISABLE_MQUEUE +#ifndef CONFIG_DISABLE_SIGNALS dq_init(&g_waitingforsignal); #endif #ifndef CONFIG_DISABLE_MQUEUE |