Remove unused variable from TaskNotifyArray.c that was causing a compiler warning. (#233)

This commit is contained in:
RichardBarry 2020-09-06 21:48:00 -07:00 committed by GitHub
parent 6b502b5dd3
commit 00891e0c88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1131,7 +1131,7 @@ const TickType_t xDontBlock = 0;
void xNotifyArrayTaskFromISR( void )
{
static BaseType_t xCallCount = 0, xAPIToUse = 0;
static BaseType_t xAPIToUse = 0;
uint32_t ulPreviousValue;
const uint32_t ulUnexpectedValue = 0xff;
static UBaseType_t uxIndexToNotify = 0;
@ -1146,9 +1146,6 @@ static UBaseType_t uxIndexToNotify = 0;
{
xSendNotificationFromISR = pdFALSE;
/* It is time to 'give' the notification again. */
xCallCount = 0;
/* Test using both vTaskNotifyGiveFromISR(), xTaskNotifyFromISR()
and xTaskNotifyAndQueryFromISR(). The notification is set to the task
notification at index uxIndexToNotify within the array of task