summaryrefslogtreecommitdiff
path: root/Source/tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/tasks.c')
-rw-r--r--Source/tasks.c4
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;