From c3ebbc6386f6a2067a99ed21a76b9884ead2dfab Mon Sep 17 00:00:00 2001 From: richardbarry Date: Tue, 12 Nov 2013 13:06:18 +0000 Subject: [PATCH] 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 --- FreeRTOS/Source/tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5