diff options
author | RichardBarry <3073890+RichardBarry@users.noreply.github.com> | 2020-09-06 21:48:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-06 21:48:00 -0700 |
commit | 00891e0c88ee636173ea6fa4a4496c421180c69a (patch) | |
tree | ad3c5b1385e082b4413033a26abbd3c50afb1f81 | |
parent | 6b502b5dd3c84cd9c6eceff6b6391c4e61cf8f4e (diff) | |
download | freertos-git-00891e0c88ee636173ea6fa4a4496c421180c69a.tar.gz |
Remove unused variable from TaskNotifyArray.c that was causing a compiler warning. (#233)
-rw-r--r-- | FreeRTOS/Demo/Common/Minimal/TaskNotifyArray.c | 5 |
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 |