diff --git a/croutine.c b/croutine.c index 84e1b99bd7..f8ab8ff879 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 25613bf3f8..37d953ac94 100644 --- a/queue.c +++ b/queue.c @@ -563,7 +563,7 @@ BaseType_t xQueueGenericReset( QueueHandle_t xQueue, return pxNewQueue; } -#endif /* configSUPPORT_STATIC_ALLOCATION */ +#endif /* configSUPPORT_DYNAMIC_ALLOCATION */ /*-----------------------------------------------------------*/ static void prvInitialiseNewQueue( const UBaseType_t uxQueueLength,