]> git.sur5r.net Git - freertos/commitdiff
Corrected a comment.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 8 Jan 2010 14:20:30 +0000 (14:20 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 8 Jan 2010 14:20:30 +0000 (14:20 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@947 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/include/StackMacros.h

index 82f831560062b42e679c1e2c4ccc299ff676e29f..65233dfbdb72cfafe883bdccfbd360c26170ba04 100644 (file)
@@ -93,7 +93,7 @@
        /* Only the current stack state is to be checked. */\r
        #define taskFIRST_CHECK_FOR_STACK_OVERFLOW()                                                                                                            \\r
        {                                                                                                                                                                                                       \\r
-       extern void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName );              \\r
+       extern void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName );                      \\r
                                                                                                                                                                                                                \\r
                /* Is the currently saved stack pointer within the stack limit? */                                                              \\r
                if( pxCurrentTCB->pxTopOfStack <= pxCurrentTCB->pxStack )                                                                               \\r
                }                                                                                                                                                                                               \\r
        }\r
 \r
-#endif /* configCHECK_FOR_STACK_OVERFLOW == 1 */\r
+#endif /* configCHECK_FOR_STACK_OVERFLOW > 0 */\r
 /*-----------------------------------------------------------*/\r
 \r
 #if( ( configCHECK_FOR_STACK_OVERFLOW > 0 ) && ( portSTACK_GROWTH > 0 ) )\r