diff --git a/include/FreeRTOS.h b/include/FreeRTOS.h index d7d3f1e9c..799d2f7d2 100644 --- a/include/FreeRTOS.h +++ b/include/FreeRTOS.h @@ -322,8 +322,8 @@ #define configUSE_DAEMON_TASK_STARTUP_HOOK 0 #endif -#if( configUSE_DAEMON_TASK_STARTUP_HOOK != 0 ) - #if( configUSE_TIMERS == 0 ) +#if ( configUSE_DAEMON_TASK_STARTUP_HOOK != 0 ) + #if ( configUSE_TIMERS == 0 ) #error configUSE_DAEMON_TASK_STARTUP_HOOK is set, but the daemon task isn't created because configUSE_TIMERS is 0. #endif #endif