/*\r
FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd.\r
\r
- FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT \r
+ FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT\r
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
\r
***************************************************************************\r
FreeRTOS WEB site.\r
\r
1 tab == 4 spaces!\r
- \r
+\r
***************************************************************************\r
* *\r
* Having a problem? Start by reading the FAQ "My application does *\r
* *\r
***************************************************************************\r
\r
- \r
- http://www.FreeRTOS.org - Documentation, training, latest versions, license \r
- and contact details. \r
- \r
+\r
+ http://www.FreeRTOS.org - Documentation, training, latest versions, license\r
+ and contact details.\r
+\r
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,\r
including FreeRTOS+Trace - an indispensable productivity tool.\r
\r
- Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell \r
- the code with commercial support, indemnification, and middleware, under \r
+ Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell\r
+ the code with commercial support, indemnification, and middleware, under\r
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also\r
- provide a safety engineered and independently SIL3 certified version under \r
+ provide a safety engineered and independently SIL3 certified version under\r
the SafeRTOS brand: http://www.SafeRTOS.com.\r
*/\r
\r
{\r
GPIO0->FIOSET = partstLED2_OUTPUT;\r
}\r
- } \r
+ }\r
}\r
/*-----------------------------------------------------------*/\r
\r
else if( ulLEDIn == 1 )\r
{\r
/* If this bit is already set, clear it, and visa versa. */\r
- ulCurrentState = GPIO1->FIOPIN;\r
- if( ulCurrentState & partstLED1_OUTPUT )\r
+ ulCurrentState = GPIO0->FIOPIN;\r
+ if( ulCurrentState & partstLED2_OUTPUT )\r
{\r
GPIO0->FIOCLR = partstLED2_OUTPUT;\r
}\r
{\r
GPIO0->FIOSET = partstLED2_OUTPUT;\r
}\r
- } \r
+ }\r
}\r
/*-----------------------------------------------------------*/\r
\r