From 00891e0c88ee636173ea6fa4a4496c421180c69a Mon Sep 17 00:00:00 2001 From: RichardBarry <3073890+RichardBarry@users.noreply.github.com> Date: Sun, 6 Sep 2020 21:48:00 -0700 Subject: [PATCH] Remove unused variable from TaskNotifyArray.c that was causing a compiler warning. (#233) --- FreeRTOS/Demo/Common/Minimal/TaskNotifyArray.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/FreeRTOS/Demo/Common/Minimal/TaskNotifyArray.c b/FreeRTOS/Demo/Common/Minimal/TaskNotifyArray.c index a8789e301..0990710ab 100644 --- a/FreeRTOS/Demo/Common/Minimal/TaskNotifyArray.c +++ b/FreeRTOS/Demo/Common/Minimal/TaskNotifyArray.c @@ -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