Correct build of helper function for ports where the stack grows up.

This commit is contained in:
Richard Barry 2013-11-12 13:06:18 +00:00
parent 8320dfb885
commit a2cfaa7cd9

View file

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