started. Therefore the idle task is not yet accounted for. We correct\r
this by increasing uxTasksRunningAtStart by 1. */\r
uxTasksRunningAtStart++;\r
+ \r
+ /* FreeRTOS version 7.0.0 can optionally create a timer service task. If\r
+ this is done, then uxTasksRunningAtStart needs incrementing again as that\r
+ too is created when the scheduler is started. */\r
+ #if configUSE_TIMERS == 1\r
+ uxTasksRunningAtStart++;\r
+ #endif\r
}\r
/*-----------------------------------------------------------*/\r
\r