mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 09:17:44 -04:00
Remove unused variable from TaskNotifyArray.c that was causing a compiler warning. (#233)
This commit is contained in:
parent
6b502b5dd3
commit
00891e0c88
1 changed files with 1 additions and 4 deletions
|
@ -1131,7 +1131,7 @@ const TickType_t xDontBlock = 0;
|
||||||
|
|
||||||
void xNotifyArrayTaskFromISR( void )
|
void xNotifyArrayTaskFromISR( void )
|
||||||
{
|
{
|
||||||
static BaseType_t xCallCount = 0, xAPIToUse = 0;
|
static BaseType_t xAPIToUse = 0;
|
||||||
uint32_t ulPreviousValue;
|
uint32_t ulPreviousValue;
|
||||||
const uint32_t ulUnexpectedValue = 0xff;
|
const uint32_t ulUnexpectedValue = 0xff;
|
||||||
static UBaseType_t uxIndexToNotify = 0;
|
static UBaseType_t uxIndexToNotify = 0;
|
||||||
|
@ -1146,9 +1146,6 @@ static UBaseType_t uxIndexToNotify = 0;
|
||||||
{
|
{
|
||||||
xSendNotificationFromISR = pdFALSE;
|
xSendNotificationFromISR = pdFALSE;
|
||||||
|
|
||||||
/* It is time to 'give' the notification again. */
|
|
||||||
xCallCount = 0;
|
|
||||||
|
|
||||||
/* Test using both vTaskNotifyGiveFromISR(), xTaskNotifyFromISR()
|
/* Test using both vTaskNotifyGiveFromISR(), xTaskNotifyFromISR()
|
||||||
and xTaskNotifyAndQueryFromISR(). The notification is set to the task
|
and xTaskNotifyAndQueryFromISR(). The notification is set to the task
|
||||||
notification at index uxIndexToNotify within the array of task
|
notification at index uxIndexToNotify within the array of task
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue