mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Add missing Task Notification IFDEF (#967)
Wrap the task notification check in vTaskGetInfo() in in a #if ( configUSE_TASK_NOTIFICATIONS == 1 )
This commit is contained in:
parent
722596eaae
commit
d63434493a
4
tasks.c
4
tasks.c
|
@ -6211,6 +6211,8 @@ static void prvCheckTasksWaitingTermination( void )
|
|||
pxTaskStatus->eCurrentState = eBlocked;
|
||||
}
|
||||
else
|
||||
{
|
||||
#if ( configUSE_TASK_NOTIFICATIONS == 1 )
|
||||
{
|
||||
BaseType_t x;
|
||||
|
||||
|
@ -6228,6 +6230,8 @@ static void prvCheckTasksWaitingTermination( void )
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif /* if ( configUSE_TASK_NOTIFICATIONS == 1 ) */
|
||||
}
|
||||
}
|
||||
( void ) xTaskResumeAll();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue