Skip to content

Commit

Permalink
Remove unused variable from TaskNotifyArray.c that was causing a comp…
Browse files Browse the repository at this point in the history
…iler warning. (FreeRTOS#233)
  • Loading branch information
RichardBarry authored Sep 7, 2020
1 parent 6b502b5 commit 00891e0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions FreeRTOS/Demo/Common/Minimal/TaskNotifyArray.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit 00891e0

Please sign in to comment.