mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-07-10 13:29:45 -04: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
a1f8a65562
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue