/*\r
- FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd. \r
+ FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd.\r
All rights reserved\r
\r
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
1 tab == 4 spaces!\r
*/\r
\r
-/* \r
+/*\r
* Very simple task that responds with a single WEB page to http requests.\r
*\r
- * The WEB page displays task and system status. A semaphore is used to \r
- * wake the task when there is processing to perform as determined by the \r
+ * The WEB page displays task and system status. A semaphore is used to\r
+ * wake the task when there is processing to perform as determined by the\r
* interrupts generated by the Ethernet interface.\r
*/\r
\r
static void prvNetifInit( void );\r
\r
/*\r
- * Generate the dynamic components of the served WEB page and transmit the \r
+ * Generate the dynamic components of the served WEB page and transmit the\r
* entire page through the socket.\r
*/\r
static void prvTransmitHTTP( unsigned char socket );\r
\r
if( ( sLen = select( i, SEL_RECV ) ) > 0 )\r
{\r
- if( sLen > httpSOCKET_BUFFER_SIZE ) \r
+ if( sLen > httpSOCKET_BUFFER_SIZE )\r
{\r
sLen = httpSOCKET_BUFFER_SIZE;\r
}\r
\r
disable();\r
- \r
- sLen = recv( i, ucSocketBuffer, sLen ); \r
+\r
+ sLen = recv( i, ucSocketBuffer, sLen );\r
\r
if( ucConnection[ i ] == 1 )\r
- { \r
+ {\r
/* This is our first time processing a HTTP\r
request on this connection. */\r
prvTransmitHTTP( i );\r
/* See definition of 'sysinit' in socket.c\r
- 8 KB transmit buffer, and 8 KB receive buffer available. These buffers\r
are shared by all 4 channels.\r
- - (0x55, 0x55) configures the send and receive buffers at \r
+ - (0x55, 0x55) configures the send and receive buffers at\r
httpSOCKET_BUFFER_SIZE bytes for each of the 4 channels. */\r
sysinit( 0x55, 0x55 );\r
}\r
send( socket, ( unsigned char * ) HTML_OUTPUT_BEGIN, strlen( HTML_OUTPUT_BEGIN ) );\r
\r
/* Generate then send the table showing the status of each task. */\r
- vTaskList( ucSocketBuffer );\r
+ vTaskList( ( char * ) ucSocketBuffer );\r
send( socket, ( unsigned char * ) ucSocketBuffer, strlen( ucSocketBuffer ) );\r
\r
/* Send the number of times the idle task has looped. */\r
sprintf( ucSocketBuffer, "The tick count is 0x%08lx<br>", xTaskGetTickCount() );\r
send( socket, ( unsigned char * ) ucSocketBuffer, strlen( ucSocketBuffer ) );\r
\r
- /* Show a message indicating whether or not the check task has discovered \r
+ /* Show a message indicating whether or not the check task has discovered\r
an error in any of the standard demo tasks. */\r
if( usCheckStatus == 0 )\r
{\r