#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
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
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
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
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
{\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