diff options
Diffstat (limited to 'nuttx/sched/wqueue/kwork_inherit.c')
-rw-r--r-- | nuttx/sched/wqueue/kwork_inherit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/sched/wqueue/kwork_inherit.c b/nuttx/sched/wqueue/kwork_inherit.c index e4df5e1f4..c169d877c 100644 --- a/nuttx/sched/wqueue/kwork_inherit.c +++ b/nuttx/sched/wqueue/kwork_inherit.c @@ -176,9 +176,11 @@ static void lpwork_boostworker(pid_t wpid, uint8_t reqprio) static void lpwork_restoreworker(pid_t wpid, uint8_t reqprio) { FAR struct tcb_s *wtcb; +#if CONFIG_SEM_NNESTPRIO > 0 uint8_t wpriority; int index; int selected; +#endif /* Get the TCB of the low priority worker thread from the process ID. */ |