summaryrefslogtreecommitdiff
path: root/FreeRTOS
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS')
-rw-r--r--FreeRTOS/Demo/Common/Minimal/TaskNotifyArray.c5
1 files changed, 1 insertions, 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