mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Only include the static definition of freertos_tasks_c_additions_init if FREERTOS_TASKS_C_ADDITIONS_INIT is defined, matching the guide used to include the function's prototype.
This commit is contained in:
parent
56dc0dd9b4
commit
78d20e2854
|
@ -5075,12 +5075,12 @@ when performing module tests). */
|
||||||
|
|
||||||
#include "freertos_tasks_c_additions.h"
|
#include "freertos_tasks_c_additions.h"
|
||||||
|
|
||||||
|
#ifdef FREERTOS_TASKS_C_ADDITIONS_INIT
|
||||||
static void freertos_tasks_c_additions_init( void )
|
static void freertos_tasks_c_additions_init( void )
|
||||||
{
|
{
|
||||||
#ifdef FREERTOS_TASKS_C_ADDITIONS_INIT
|
|
||||||
FREERTOS_TASKS_C_ADDITIONS_INIT();
|
FREERTOS_TASKS_C_ADDITIONS_INIT();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue