Renamed the CORTEX_M4_ATSAM4S_AVR_Studio directory to the correct CORTEX_M4_ATSAM4S_Atmel_Studio.

This commit is contained in:
Richard Barry 2012-07-08 15:58:54 +00:00
parent 271b22eccc
commit e1a83402d6
167 changed files with 6 additions and 6 deletions

View file

@ -94,19 +94,19 @@ static void prvLEDTimerCallback( xTimerHandle xTimer );
/*-----------------------------------------------------------*/
void vStartLEDFlashTimers( unsigned portBASE_TYPE xNumberOfLEDs )
void vStartLEDFlashTimers( unsigned portBASE_TYPE uxNumberOfLEDs )
{
portBASE_TYPE xLEDTimer;
unsigned portBASE_TYPE uxLEDTimer;
xTimerHandle xTimer;
/* Create and start the requested number of timers. */
for( xLEDTimer = 0; xLEDTimer < xNumberOfLEDs; ++xLEDTimer )
for( uxLEDTimer = 0; uxLEDTimer < uxNumberOfLEDs; ++uxLEDTimer )
{
/* Create the timer. */
xTimer = xTimerCreate( ( const signed char * const ) "Flasher",/* A text name, purely to help debugging. */
ledFLASH_RATE_BASE * ( xLEDTimer + 1 ), /* The timer period, which is a multiple of ledFLASH_RATE_BASE. */
ledFLASH_RATE_BASE * ( uxLEDTimer + 1 ), /* The timer period, which is a multiple of ledFLASH_RATE_BASE. */
pdTRUE, /* This is an auto-reload timer, so xAutoReload is set to pdTRUE. */
( void * ) xLEDTimer, /* The ID is used to identify the timer within the timer callback function, as each timer uses the same callback. */
( void * ) uxLEDTimer, /* The ID is used to identify the timer within the timer callback function, as each timer uses the same callback. */
prvLEDTimerCallback /* Each timer uses the same callback. */
);

View file

@ -75,6 +75,6 @@
* within the callback function to determine which timer has actually expired
* (and therefore which LED to toggle).
*/
void vStartLEDFlashTimers( unsigned portBASE_TYPE xNumberOfLEDs );
void vStartLEDFlashTimers( unsigned portBASE_TYPE uxNumberOfLEDs );
#endif /* FLASH_TIMER_H */