mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-06-19 17:43:42 +02:00
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>
This commit is contained in:
parent
d877cd5398
commit
950ab4ff91
@ -402,4 +402,4 @@
|
|||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
#endif /* configUSE_CO_ROUTINES == 0 */
|
#endif /* configUSE_CO_ROUTINES != 0 */
|
||||||
|
|||||||
2
queue.c
2
queue.c
@ -563,7 +563,7 @@ BaseType_t xQueueGenericReset( QueueHandle_t xQueue,
|
|||||||
return pxNewQueue;
|
return pxNewQueue;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* configSUPPORT_STATIC_ALLOCATION */
|
#endif /* configSUPPORT_DYNAMIC_ALLOCATION */
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
static void prvInitialiseNewQueue( const UBaseType_t uxQueueLength,
|
static void prvInitialiseNewQueue( const UBaseType_t uxQueueLength,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user