]> git.sur5r.net Git - freertos/commitdiff
Correct build of helper function for ports where the stack grows up.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 12 Nov 2013 13:06:18 +0000 (13:06 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 12 Nov 2013 13:06:18 +0000 (13:06 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2094 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Source/tasks.c

index ca726f1b71e74d78f79557a039ad53619cdb2a01..c0f151958926c4113b3895785a1fcb776f288a30 100644 (file)
@@ -2549,7 +2549,7 @@ tskTCB *pxNewTCB;
 \r
                                #if ( portSTACK_GROWTH > 0 )\r
                                {\r
-                                       ppxTaskStatusArray[ uxTask ].usStackHighWaterMark = prvTaskCheckFreeStackSpace( ( unsigned char * ) pxNextTCB->pxEndOfStack );\r
+                                       pxTaskStatusArray[ uxTask ].usStackHighWaterMark = prvTaskCheckFreeStackSpace( ( unsigned char * ) pxNextTCB->pxEndOfStack );\r
                                }\r
                                #else\r
                                {\r