Removed const from xTaskResumeFromISR() and xTaskResume() local variables as it upsets the call to the list function.

pull/1/head
Richard Barry 18 years ago
parent 7a8eb507a7
commit de1094e980

@ -994,7 +994,7 @@ static unsigned portBASE_TYPE uxTaskNumber = 0; /*lint !e956 Static is deliberat
void vTaskResume( xTaskHandle pxTaskToResume ) void vTaskResume( xTaskHandle pxTaskToResume )
{ {
const tskTCB *pxTCB; tskTCB *pxTCB;
/* Remove the task from whichever list it is currently in, and place /* Remove the task from whichever list it is currently in, and place
it in the ready list. */ 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 xTaskResumeFromISR( xTaskHandle pxTaskToResume )
{ {
portBASE_TYPE xYieldRequired = pdFALSE; portBASE_TYPE xYieldRequired = pdFALSE;
const tskTCB *pxTCB; tskTCB *pxTCB;
pxTCB = ( tskTCB * ) pxTaskToResume; pxTCB = ( tskTCB * ) pxTaskToResume;

Loading…
Cancel
Save