From: richardbarry Date: Fri, 8 Jan 2010 14:20:30 +0000 (+0000) Subject: Corrected a comment. X-Git-Tag: V6.0.3~39 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97a5d4045a363bbe091b801a0c7c56f97375bfa9;p=freertos Corrected a comment. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@947 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/include/StackMacros.h b/Source/include/StackMacros.h index 82f831560..65233dfbd 100644 --- a/Source/include/StackMacros.h +++ b/Source/include/StackMacros.h @@ -93,7 +93,7 @@ /* Only the current stack state is to be checked. */ #define taskFIRST_CHECK_FOR_STACK_OVERFLOW() \ { \ - extern void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName ); \ + extern void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName ); \ \ /* Is the currently saved stack pointer within the stack limit? */ \ if( pxCurrentTCB->pxTopOfStack <= pxCurrentTCB->pxStack ) \ @@ -102,7 +102,7 @@ } \ } -#endif /* configCHECK_FOR_STACK_OVERFLOW == 1 */ +#endif /* configCHECK_FOR_STACK_OVERFLOW > 0 */ /*-----------------------------------------------------------*/ #if( ( configCHECK_FOR_STACK_OVERFLOW > 0 ) && ( portSTACK_GROWTH > 0 ) )