]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/Common/Minimal/flash_timer.c
Start to remove unnecessary 'signed char *' casts from strings that are now just...
[freertos] / FreeRTOS / Demo / Common / Minimal / flash_timer.c
index a5985ff9832eb293d298caacbe1aa71495c7e5bc..7bd9654f5d34ab39788ee4e6e1f8ee2b7f88d0aa 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
@@ -67,7 +67,7 @@
  * Repeatedly toggles one or more LEDs using software timers - one timer per\r
  * LED.\r
  */\r
\r
+\r
 /* Scheduler include files. */\r
 #include "FreeRTOS.h"\r
 #include "timers.h"\r
@@ -102,13 +102,13 @@ xTimerHandle xTimer;
        for( uxLEDTimer = 0; uxLEDTimer < uxNumberOfLEDs; ++uxLEDTimer )\r
        {\r
                /* Create the timer. */\r
-               xTimer = xTimerCreate(  ( const signed char * const ) "Flasher",/* A text name, purely to help debugging. */\r
-                                                               ledFLASH_RATE_BASE * ( uxLEDTimer + 1 ),        /* The timer period, which is a multiple of ledFLASH_RATE_BASE. */\r
+               xTimer = xTimerCreate(  "Flasher",                                                              /* A text name, purely to help debugging. */\r
+                                                               ledFLASH_RATE_BASE * ( uxLEDTimer + 1 ),/* The timer period, which is a multiple of ledFLASH_RATE_BASE. */\r
                                                                pdTRUE,                                                                 /* This is an auto-reload timer, so xAutoReload is set to pdTRUE. */\r
                                                                ( void * ) uxLEDTimer,                                  /* The ID is used to identify the timer within the timer callback function, as each timer uses the same callback. */\r
                                                                prvLEDTimerCallback                                             /* Each timer uses the same callback. */\r
                                                          );\r
-                               \r
+\r
                /* If the timer was created successfully, attempt to start it.  If the\r
                scheduler has not yet been started then the timer command queue must\r
                be long enough to hold each command sent to it until such time that the\r
@@ -117,7 +117,7 @@ xTimerHandle xTimer;
                if( xTimer != NULL )\r
                {\r
                        xTimerStart( xTimer, ledDONT_BLOCK );\r
-               }                                                         \r
+               }\r
        }\r
 }\r
 /*-----------------------------------------------------------*/\r