diff --git a/components/freertos/FreeRTOS-Kernel-SMP/include/freertos/task.h b/components/freertos/FreeRTOS-Kernel-SMP/include/freertos/task.h index eac25381ed..2e36eb17b0 100644 --- a/components/freertos/FreeRTOS-Kernel-SMP/include/freertos/task.h +++ b/components/freertos/FreeRTOS-Kernel-SMP/include/freertos/task.h @@ -271,7 +271,7 @@ typedef enum #define taskSCHEDULER_RUNNING ( ( BaseType_t ) 2 ) /* Check if core value is valid */ -#define taskVALID_CORE_ID( xCoreID ) ( ( BaseType_t ) ( ( 0 <= xCoreID ) && ( xCoreID < configNUM_CORES ) ) ) +#define taskVALID_CORE_ID( xCoreID ) ( ( BaseType_t ) ( ( 0 <= (BaseType_t) xCoreID ) && ( (BaseType_t) xCoreID < configNUM_CORES ) ) ) /*----------------------------------------------------------- * TASK CREATION API diff --git a/components/freertos/FreeRTOS-Kernel-SMP/portable/xtensa/include/freertos/portmacro.h b/components/freertos/FreeRTOS-Kernel-SMP/portable/xtensa/include/freertos/portmacro.h index 5c1cd214a1..4230dbea49 100644 --- a/components/freertos/FreeRTOS-Kernel-SMP/portable/xtensa/include/freertos/portmacro.h +++ b/components/freertos/FreeRTOS-Kernel-SMP/portable/xtensa/include/freertos/portmacro.h @@ -267,7 +267,7 @@ static inline BaseType_t xPortInIsrContext(void) return xPortCheckIfInISR(); } -BaseType_t IRAM_ATTR xPortInterruptedFromISRContext(void); +BaseType_t xPortInterruptedFromISRContext(void); static inline UBaseType_t xPortSetInterruptMaskFromISR(void) {