From 97a5d4045a363bbe091b801a0c7c56f97375bfa9 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Fri, 8 Jan 2010 14:20:30 +0000 Subject: [PATCH] Corrected a comment. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@947 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/include/StackMacros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) ) -- 2.39.2