diff --git a/portable/GCC/ARM_CR5/port.c b/portable/GCC/ARM_CR5/port.c index 88c21dceaab..f761b69128c 100644 --- a/portable/GCC/ARM_CR5/port.c +++ b/portable/GCC/ARM_CR5/port.c @@ -149,7 +149,8 @@ #define portTASK_RETURN_ADDRESS prvTaskExitError #endif -#if ( configUSE_TASK_FPU_SUPPORT != 0 ) +#if ( configUSE_TASK_FPU_SUPPORT == 2 ) + /* * The space on the stack required to hold the FPU registers.