From: richardbarry Date: Tue, 12 Nov 2013 13:06:18 +0000 (+0000) Subject: Correct build of helper function for ports where the stack grows up. X-Git-Tag: V7.6.0~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c3ebbc6386f6a2067a99ed21a76b9884ead2dfab;p=freertos Correct build of helper function for ports where the stack grows up. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2094 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/FreeRTOS/Source/tasks.c b/FreeRTOS/Source/tasks.c index ca726f1b7..c0f151958 100644 --- a/FreeRTOS/Source/tasks.c +++ b/FreeRTOS/Source/tasks.c @@ -2549,7 +2549,7 @@ tskTCB *pxNewTCB; #if ( portSTACK_GROWTH > 0 ) { - ppxTaskStatusArray[ uxTask ].usStackHighWaterMark = prvTaskCheckFreeStackSpace( ( unsigned char * ) pxNextTCB->pxEndOfStack ); + pxTaskStatusArray[ uxTask ].usStackHighWaterMark = prvTaskCheckFreeStackSpace( ( unsigned char * ) pxNextTCB->pxEndOfStack ); } #else {