From b94672ee42d554d8505cdf16a40e400d9843ef37 Mon Sep 17 00:00:00 2001 From: Anubhav Rawal Date: Thu, 15 Feb 2024 14:28:45 -0800 Subject: [PATCH] Fix Formatting --- examples/template_configuration/FreeRTOSConfig.h | 6 +++--- include/FreeRTOS.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/template_configuration/FreeRTOSConfig.h b/examples/template_configuration/FreeRTOSConfig.h index a74da1965..2c807142c 100644 --- a/examples/template_configuration/FreeRTOSConfig.h +++ b/examples/template_configuration/FreeRTOSConfig.h @@ -499,11 +499,11 @@ /* When using SMP with core affinity feature enabled, set * configTASK_DEFAULT_CORE_AFFINITY to change the default core affinity mask for * tasks created without an affinity mask specified. Setting the define to 1 would - * make such tasks run on core 0 and setting it to (1 << portGET_CORE_ID()) would - * make such tasks run on the current core. This config value is useful, if + * make such tasks run on core 0 and setting it to (1 << portGET_CORE_ID()) would + * make such tasks run on the current core. This config value is useful, if * swapping tasks between cores is not supported (e.g. Tricore) or if legacy code * should be controlled. Defaults to tskNO_AFFINITY if left undefined. */ -#define configTASK_DEFAULT_CORE_AFFINITY tskNO_AFFINITY +#define configTASK_DEFAULT_CORE_AFFINITY tskNO_AFFINITY /* When using SMP (i.e. configNUMBER_OF_CORES is greater than one), if * configUSE_TASK_PREEMPTION_DISABLE is set to 1, individual tasks can be set to diff --git a/include/FreeRTOS.h b/include/FreeRTOS.h index 5094e4f05..0c386cc4d 100644 --- a/include/FreeRTOS.h +++ b/include/FreeRTOS.h @@ -486,7 +486,7 @@ #if ( ( configNUMBER_OF_CORES > 1 ) && ( configUSE_CORE_AFFINITY == 1 ) ) #ifndef configTASK_DEFAULT_CORE_AFFINITY - #define configTASK_DEFAULT_CORE_AFFINITY tskNO_AFFINITY + #define configTASK_DEFAULT_CORE_AFFINITY tskNO_AFFINITY #endif #endif