]> git.sur5r.net Git - freertos/blobdiff - Demo/CORTEX_A2F200_IAR_and_Keil/main-full.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-full.c
index d965dc8bff0e48f7de172fc9a81c9e6217ef7041..51299bc9a619a9db281455725b5030b07dc2bc1f 100644 (file)
@@ -209,7 +209,7 @@ callback function updates the OLED text. */
 #define mainOLED_PERIOD_ms                     ( 75UL )\r
 \r
 /* The period at which the check timer will expire, in ms, if an error has been\r
-reported in one of the standard demo tasks. */
+reported in one of the standard demo tasks. */\r
 #define mainERROR_CHECK_TIMER_PERIOD_ms ( 500UL )\r
 \r
 /* A zero block time. */\r
@@ -228,24 +228,24 @@ static void prvQueueReceiveTask( void *pvParameters );
 static void prvQueueSendTask( void *pvParameters );\r
 \r
 /*\r
- * The LED timer callback function.  This does nothing but switch the red LED \r
+ * The LED timer callback function.  This does nothing but switch the red LED\r
  * off.\r
  */\r
 static void vLEDTimerCallback( xTimerHandle xTimer );\r
 \r
 /*\r
- * The check timer callback function, as described at the top of this file.
+ * The check timer callback function, as described at the top of this file.\r
  */\r
 static void vCheckTimerCallback( xTimerHandle xTimer );\r
 \r
 /*\r
- * The OLED timer callback function, as described at the top of this file.
+ * The OLED timer callback function, as described at the top of this file.\r
  */\r
 static void vOLEDTimerCallback( xTimerHandle xHandle );\r
 \r
 /*\r
  * This is not a 'standard' partest function, so the prototype is not in\r
- * partest.h, and is instead included here.
+ * partest.h, and is instead included here.\r
  */\r
 void vParTestSetLEDFromISR( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue );\r
 \r
@@ -292,8 +292,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
@@ -325,7 +325,7 @@ int main(void)
                vStartTimerDemoTask( mainTIMER_TEST_PERIOD );\r
 \r
                /* Create the web server task. */\r
-//             xTaskCreate( vuIP_Task, ( signed char * ) "uIP", mainuIP_STACK_SIZE, NULL, mainuIP_TASK_PRIORITY, NULL );\r
+               xTaskCreate( vuIP_Task, ( signed char * ) "uIP", mainuIP_STACK_SIZE, NULL, mainuIP_TASK_PRIORITY, NULL );\r
 \r
                /* Start the tasks and timer running. */\r
                vTaskStartScheduler();\r
@@ -455,7 +455,7 @@ const unsigned long ulValueToSend = 100UL;
        while the check and OLED timers can be created in main(), they cannot be\r
        started from main().  Once the scheduler has started, the timer service\r
        task will drain the command queue, and now the check and OLED timers can be\r
-       started successfully. */
+       started successfully. */\r
        xTimerStart( xCheckTimer, portMAX_DELAY );\r
        xTimerStart( xOLEDTimer, portMAX_DELAY );\r
 \r
@@ -561,7 +561,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