mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-23 17:38:23 +08: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:
@ -5075,12 +5075,12 @@ when performing module tests). */
|
|||||||
|
|
||||||
#include "freertos_tasks_c_additions.h"
|
#include "freertos_tasks_c_additions.h"
|
||||||
|
|
||||||
static void freertos_tasks_c_additions_init( void )
|
#ifdef FREERTOS_TASKS_C_ADDITIONS_INIT
|
||||||
{
|
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user