From 91b737ff0319c4ea12f444c410091f1c7730624b Mon Sep 17 00:00:00 2001 From: RichardBarry Date: Sat, 28 Jul 2007 18:35:03 +0000 Subject: Removed const from xTaskResumeFromISR() and xTaskResume() local variables as it upsets the call to the list function. git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@98 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/tasks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/tasks.c') diff --git a/Source/tasks.c b/Source/tasks.c index 4e126174..cab6a49e 100644 --- a/Source/tasks.c +++ b/Source/tasks.c @@ -994,7 +994,7 @@ static unsigned portBASE_TYPE uxTaskNumber = 0; /*lint !e956 Static is deliberat void vTaskResume( xTaskHandle pxTaskToResume ) { - const tskTCB *pxTCB; + tskTCB *pxTCB; /* Remove the task from whichever list it is currently in, and place it in the ready list. */ @@ -1035,7 +1035,7 @@ static unsigned portBASE_TYPE uxTaskNumber = 0; /*lint !e956 Static is deliberat portBASE_TYPE xTaskResumeFromISR( xTaskHandle pxTaskToResume ) { portBASE_TYPE xYieldRequired = pdFALSE; - const tskTCB *pxTCB; + tskTCB *pxTCB; pxTCB = ( tskTCB * ) pxTaskToResume; -- cgit v1.2.3