Add missing Task Notification IFDEF (#967)

Wrap the task notification check in vTaskGetInfo() in in a  #if ( configUSE_TASK_NOTIFICATIONS == 1 )
pull/966/head^2
Soren Ptak 1 year ago committed by GitHub
parent 722596eaae
commit d63434493a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save