/*\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
* 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
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
if( xTimer != NULL )\r
{\r
xTimerStart( xTimer, ledDONT_BLOCK );\r
- } \r
+ }\r
}\r
}\r
/*-----------------------------------------------------------*/\r