From: RichardBarry Date: Sat, 28 Jul 2007 18:35:03 +0000 (+0000) Subject: Removed const from xTaskResumeFromISR() and xTaskResume() local variables as it upset... X-Git-Tag: V4.4.0~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6e24cdc306585ec77aa1cf2538626c45b8feb00c;p=freertos Removed const from xTaskResumeFromISR() and xTaskResume() local variables as it upsets the call to the list function. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@98 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/tasks.c b/Source/tasks.c index 4e1261747..cab6a49e3 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;