]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_Kinetis_K60_Tower_IAR/uIP_Task.c
Start to remove unnecessary 'signed char *' casts from strings that are now just...
[freertos] / FreeRTOS / Demo / CORTEX_Kinetis_K60_Tower_IAR / uIP_Task.c
index 8319b633058df8b1407bf65fb9b1bd61b0b3c100..dba1a26b687e4bdd73ac23cf2a2b5ebc731364e9 100644 (file)
@@ -1,5 +1,5 @@
 /*\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
@@ -166,7 +166,7 @@ unsigned short usPacketLength;
                if( ( usPacketLength > 0U ) && ( uip_buf != NULL ) )\r
                {\r
                        uip_len = usPacketLength;\r
-                       \r
+\r
                        if( xHeader->type == htons( UIP_ETHTYPE_IP ) )\r
                        {\r
                                uip_arp_ipin();\r
@@ -210,7 +210,7 @@ unsigned short usPacketLength;
                                for( i = 0; i < UIP_CONNS; i++ )\r
                                {\r
                                        uip_periodic( i );\r
-       \r
+\r
                                        /* If the above function invocation resulted in data that\r
                                        should be sent out on the network, the global variable\r
                                        uip_len is set to a value > 0. */\r
@@ -273,14 +273,14 @@ xTimerHandle xARPTimer, xPeriodicTimer;
        xEMACEventQueue = xQueueCreate( uipEVENT_QUEUE_LENGTH, sizeof( unsigned long ) );\r
 \r
        /* Create and start the uIP timers. */\r
-       xARPTimer = xTimerCreate(       ( signed char * ) "ARPTimer", /* Just a name that is helpful for debugging, not used by the kernel. */\r
+       xARPTimer = xTimerCreate(       "ARPTimer", /* Just a name that is helpful for debugging, not used by the kernel. */\r
                                                                ( 10000UL / portTICK_RATE_MS ), /* Timer period. */\r
                                                                pdTRUE, /* Autor-reload. */\r
                                                                ( void * ) uipARP_TIMER,\r
                                                                prvUIPTimerCallback\r
                                                        );\r
 \r
-       xPeriodicTimer = xTimerCreate(  ( signed char * ) "PeriodicTimer",\r
+       xPeriodicTimer = xTimerCreate(  "PeriodicTimer",\r
                                                                        ( 500UL / portTICK_RATE_MS ),\r
                                                                        pdTRUE, /* Autor-reload. */\r
                                                                        ( void * ) uipPERIODIC_TIMER,\r
@@ -328,7 +328,7 @@ const unsigned long ulYellowLED = 2UL;
 \r
        /* Only interested in processing form input if this is the IO page. */\r
        c = strstr( pcInputString, "io.shtml" );\r
-       \r
+\r
        if( c )\r
        {\r
                /* Is there a command in the string? */\r