diff options
author | RichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2007-07-28 18:35:03 +0000 |
---|---|---|
committer | RichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2007-07-28 18:35:03 +0000 |
commit | 91b737ff0319c4ea12f444c410091f1c7730624b (patch) | |
tree | 723fc8eafc10ce71a57fb2c9eab71a27d6379914 /Source/tasks.c | |
parent | aec78d7510805bf3136181ab3dcd465af751be08 (diff) | |
download | freertos-91b737ff0319c4ea12f444c410091f1c7730624b.tar.gz freertos-91b737ff0319c4ea12f444c410091f1c7730624b.tar.bz2 freertos-91b737ff0319c4ea12f444c410091f1c7730624b.tar.xz |
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
Diffstat (limited to 'Source/tasks.c')
-rw-r--r-- | Source/tasks.c | 4 |
1 files changed, 2 insertions, 2 deletions
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;
|