From 0cf0b17893e45e6dc4f2f95fe1e78e5baa66cc1b Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 13 Apr 2008 16:28:17 +0000 Subject: [PATCH] Update to use new QueueSendFromISR() semantics. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@312 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/ARM7_LPC2368_Eclipse/RTOSDemo/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Demo/ARM7_LPC2368_Eclipse/RTOSDemo/main.c b/Demo/ARM7_LPC2368_Eclipse/RTOSDemo/main.c index 921e0000f..8855f99b0 100644 --- a/Demo/ARM7_LPC2368_Eclipse/RTOSDemo/main.c +++ b/Demo/ARM7_LPC2368_Eclipse/RTOSDemo/main.c @@ -176,6 +176,7 @@ void vApplicationTickHook( void ) unsigned portBASE_TYPE uxColumn = 0; static xLCDMessage xMessage = { 0, "PASS" }; static unsigned portLONG ulTicksSinceLastDisplay = 0; +static portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; /* Called from every tick interrupt. Have enough ticks passed to make it time to perform our health status check again? */ @@ -214,7 +215,8 @@ static unsigned portLONG ulTicksSinceLastDisplay = 0; xMessage.xColumn++; /* Send the message to the LCD gatekeeper for display. */ - xQueueSendToBackFromISR( xLCDQueue, &xMessage, pdFALSE ); + xHigherPriorityTaskWoken = pdFALSE; + xQueueSendToBackFromISR( xLCDQueue, &xMessage, &xHigherPriorityTaskWoken ); } } /*-----------------------------------------------------------*/ -- 2.39.5