]> git.sur5r.net Git - freertos/blobdiff - Demo/CORTEX_A2F200_IAR_and_Keil/main-blinky.c
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1375 1d2547de-c912-0410...
[freertos] / Demo / CORTEX_A2F200_IAR_and_Keil / main-blinky.c
index 82b48f6e4b96cea7c1fca0fc5de1dc40572d33d0..af060a25c603921dbea46aa6f238fedfb29d20cf 100644 (file)
@@ -185,8 +185,8 @@ int main(void)
                xTaskCreate( prvQueueReceiveTask, ( signed char * ) "Rx", configMINIMAL_STACK_SIZE, NULL, mainQUEUE_RECEIVE_TASK_PRIORITY, NULL );\r
                xTaskCreate( prvQueueSendTask, ( signed char * ) "TX", configMINIMAL_STACK_SIZE, NULL, mainQUEUE_SEND_TASK_PRIORITY, NULL );\r
 \r
-               /* Create the software timer that is responsible for turning off the LED \r
-               if the button is not pushed within 5000ms, as described at the top of \r
+               /* Create the software timer that is responsible for turning off the LED\r
+               if the button is not pushed within 5000ms, as described at the top of\r
                this file. */\r
                xLEDTimer = xTimerCreate(       ( const signed char * ) "LEDTimer", /* A text name, purely to help debugging. */\r
                                                                        ( 5000 / portTICK_RATE_MS ),            /* The timer period, in this case 5000ms (5s). */\r
@@ -289,8 +289,8 @@ unsigned long ulReceivedValue;
                if( ulReceivedValue == 100UL )\r
                {\r
                        /* NOTE - accessing the LED port should use a critical section\r
-                       because it is accessed from multiple tasks, and the button interrupt \r
-                       - in this trivial case, for simplicity, the critical section is \r
+                       because it is accessed from multiple tasks, and the button interrupt\r
+                       - in this trivial case, for simplicity, the critical section is\r
                        omitted. */\r
                        if( ( ulGPIOState & mainTASK_CONTROLLED_LED ) != 0 )\r
                        {\r
@@ -340,7 +340,7 @@ void vApplicationMallocFailedHook( void )
 {\r
        /* Called if a call to pvPortMalloc() fails because there is insufficient\r
        free memory available in the FreeRTOS heap.  pvPortMalloc() is called\r
-       internally by FreeRTOS API functions that create tasks, queues, software \r
+       internally by FreeRTOS API functions that create tasks, queues, software\r
        timers, and semaphores.  The size of the FreeRTOS heap is set by the\r
        configTOTAL_HEAP_SIZE configuration constant in FreeRTOSConfig.h. */\r
        for( ;; );\r
@@ -364,7 +364,7 @@ void vApplicationIdleHook( void )
 volatile size_t xFreeStackSpace;\r
 \r
        /* This function is called on each cycle of the idle task.  In this case it\r
-       does nothing useful, other than report the amout of FreeRTOS heap that \r
+       does nothing useful, other than report the amout of FreeRTOS heap that\r
        remains unallocated. */\r
        xFreeStackSpace = xPortGetFreeHeapSize();\r
 \r
@@ -376,3 +376,4 @@ volatile size_t xFreeStackSpace;
                reduced accordingly. */\r
        }\r
 }\r
+\r