]> git.sur5r.net Git - freertos/commitdiff
Removed const from xTaskResumeFromISR() and xTaskResume() local variables as it upset...
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 28 Jul 2007 18:35:03 +0000 (18:35 +0000)
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 28 Jul 2007 18:35:03 +0000 (18:35 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@98 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/tasks.c

index 4e1261747f968a7194ef5f712be8009d8060f590..cab6a49e37259d4f854dc918398039d22030cfe3 100644 (file)
@@ -994,7 +994,7 @@ static unsigned portBASE_TYPE uxTaskNumber = 0; /*lint !e956 Static is deliberat
 \r
        void vTaskResume( xTaskHandle pxTaskToResume )\r
        {\r
-       const tskTCB *pxTCB;\r
+       tskTCB *pxTCB;\r
 \r
                /* Remove the task from whichever list it is currently in, and place\r
                it in the ready list. */\r
@@ -1035,7 +1035,7 @@ static unsigned portBASE_TYPE uxTaskNumber = 0; /*lint !e956 Static is deliberat
        portBASE_TYPE xTaskResumeFromISR( xTaskHandle pxTaskToResume )\r
        {\r
        portBASE_TYPE xYieldRequired = pdFALSE;\r
-       const tskTCB *pxTCB;\r
+       tskTCB *pxTCB;\r
 \r
                pxTCB = ( tskTCB * ) pxTaskToResume;\r
 \r