]> git.sur5r.net Git - freertos/blobdiff - Source/include/StackMacros.h
Corrected a comment.
[freertos] / 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