Fix incorrect #endif preprocessor comments in croutine.c and queue.c croutine.c: #if condition is ( configUSE_CO_ROUTINES != 0 ) but the #endif comment incorrectly said == 0, reversing the logic. queue.c: #if condition is ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) but the #endif comment incorrectly said configSUPPORT_STATIC_ALLOCATION, naming the wrong configuration option. These are purely cosmetic comment fixes with zero runtime impact. Signed-off-by: hanzhijian <hanzhijian@zepp.com>
diff --git a/croutine.c b/croutine.c index 84e1b99..f8ab8ff 100644 --- a/croutine.c +++ b/croutine.c
@@ -402,4 +402,4 @@ } /*-----------------------------------------------------------*/ -#endif /* configUSE_CO_ROUTINES == 0 */ +#endif /* configUSE_CO_ROUTINES != 0 */
diff --git a/queue.c b/queue.c index 25613bf..37d953a 100644 --- a/queue.c +++ b/queue.c
@@ -563,7 +563,7 @@ return pxNewQueue; } -#endif /* configSUPPORT_STATIC_ALLOCATION */ +#endif /* configSUPPORT_DYNAMIC_ALLOCATION */ /*-----------------------------------------------------------*/ static void prvInitialiseNewQueue( const UBaseType_t uxQueueLength,