We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents edf48bb + 0df4e80 commit a1a125eCopy full SHA for a1a125e
components/freertos/tasks.c
@@ -2093,7 +2093,7 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB,
2093
if( listIS_CONTAINED_WITHIN( &xSuspendedTaskList, &( pxTCB->xStateListItem ) ) != pdFALSE )
2094
{
2095
/* Has the task already been resumed from within an ISR? */
2096
- if( listIS_CONTAINED_WITHIN( &xPendingReadyList[xPortGetCoreID()], &( pxTCB->xEventListItem )) ||
+ if( listIS_CONTAINED_WITHIN( &xPendingReadyList[xPortGetCoreID()], &( pxTCB->xEventListItem )) == pdFALSE &&
2097
listIS_CONTAINED_WITHIN( &xPendingReadyList[!xPortGetCoreID()], &( pxTCB->xEventListItem )) == pdFALSE )
2098
2099
/* Is it in the suspended list because it is in the Suspended
0 commit comments