mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-23 23:11:58 -04:00
Update to use new QueueSendFromISR() semantics.
This commit is contained in:
parent
49c84f0d41
commit
7920c29ad1
|
@ -176,6 +176,7 @@ void vApplicationTickHook( void )
|
||||||
unsigned portBASE_TYPE uxColumn = 0;
|
unsigned portBASE_TYPE uxColumn = 0;
|
||||||
static xLCDMessage xMessage = { 0, "PASS" };
|
static xLCDMessage xMessage = { 0, "PASS" };
|
||||||
static unsigned portLONG ulTicksSinceLastDisplay = 0;
|
static unsigned portLONG ulTicksSinceLastDisplay = 0;
|
||||||
|
static portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
||||||
|
|
||||||
/* Called from every tick interrupt. Have enough ticks passed to make it
|
/* Called from every tick interrupt. Have enough ticks passed to make it
|
||||||
time to perform our health status check again? */
|
time to perform our health status check again? */
|
||||||
|
@ -214,7 +215,8 @@ static unsigned portLONG ulTicksSinceLastDisplay = 0;
|
||||||
xMessage.xColumn++;
|
xMessage.xColumn++;
|
||||||
|
|
||||||
/* Send the message to the LCD gatekeeper for display. */
|
/* Send the message to the LCD gatekeeper for display. */
|
||||||
xQueueSendToBackFromISR( xLCDQueue, &xMessage, pdFALSE );
|
xHigherPriorityTaskWoken = pdFALSE;
|
||||||
|
xQueueSendToBackFromISR( xLCDQueue, &xMessage, &xHigherPriorityTaskWoken );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue