\r
if( ( portICCBPR_BINARY_POINT_REGISTER & portBINARY_POINT_BITS ) <= portMAX_BINARY_POINT_VALUE )\r
{\r
- /* Start the timer that generates the tick ISR. Interrupts are\r
- turned off in the CPU itself to ensure the tick does not execute\r
- while the scheduler is being started. Interrupts are automatically\r
- turned back on in the CPU when the first task starts executing. */\r
+ /* Interrupts are turned off in the CPU itself to ensure tick does\r
+ not execute while the scheduler is being started. Interrupts are\r
+ automatically turned back on in the CPU when the first task starts\r
+ executing. */\r
portCPU_IRQ_DISABLE();\r
+\r
+ /* Start the timer that generates the tick ISR. */\r
configSETUP_TICK_INTERRUPT();\r
+\r
+ /* Start the first task executing. */\r
vPortRestoreTaskContext();\r
}\r
}\r