mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Fix compilation warnings with Clang (#721)
Fix compilation warnings with Clang Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
a33ba8e646
commit
cfd4c73b5b
6 changed files with 17 additions and 7 deletions
|
@ -472,6 +472,14 @@
|
|||
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_CORE_AFFINITY
|
||||
#define configUSE_CORE_AFFINITY 0
|
||||
#endif /* configUSE_CORE_AFFINITY */
|
||||
|
||||
#ifndef configUSE_MINIMAL_IDLE_HOOK
|
||||
#define configUSE_MINIMAL_IDLE_HOOK 0
|
||||
#endif /* configUSE_MINIMAL_IDLE_HOOK */
|
||||
|
||||
/* The timers module relies on xTaskGetSchedulerState(). */
|
||||
#if configUSE_TIMERS == 1
|
||||
|
||||
|
|
|
@ -715,7 +715,7 @@ typedef enum
|
|||
* a call to xTaskCreateRestricted(). These regions can be redefined using
|
||||
* vTaskAllocateMPURegions().
|
||||
*
|
||||
* @param xTask The handle of the task being updated.
|
||||
* @param xTaskToModify The handle of the task being updated.
|
||||
*
|
||||
* @param[in] pxRegions A pointer to a MemoryRegion_t structure that contains the
|
||||
* new memory region definitions.
|
||||
|
@ -1321,7 +1321,7 @@ BaseType_t xTaskResumeFromISR( TaskHandle_t xTaskToResume ) PRIVILEGED_FUNCTION;
|
|||
UBaseType_t uxCoreAffinityMask );
|
||||
#endif
|
||||
|
||||
#if ( configUSE_CORE_AFFINITY == 1 )
|
||||
#if ( ( configNUMBER_OF_CORES > 1 ) && ( configUSE_CORE_AFFINITY == 1 ) )
|
||||
|
||||
/**
|
||||
* @brief Gets the core affinity mask for a task.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue