]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/GCC/ARM_CA9/port.c
vQueueAddToRegistry() now takes a const char * instead of a char *.
[freertos] / FreeRTOS / Source / portable / GCC / ARM_CA9 / port.c
index 30eb3be117412fd4f7029d14c0b8d5253331bebb..023c269d3762a3e58dfb158cb6013f27ceaf9704 100644 (file)
@@ -352,12 +352,16 @@ uint32_t ulAPSR;
 \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