From 2a47ddd1f57bfe9e166070818f6c7f4fd5a2ec0a Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Mon, 29 Oct 2012 16:17:05 +0000 Subject: [PATCH] Correct cut and paste error in partest.c file. --- FreeRTOS/Demo/CORTEX_LPC1768_IAR/ParTest.c | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/FreeRTOS/Demo/CORTEX_LPC1768_IAR/ParTest.c b/FreeRTOS/Demo/CORTEX_LPC1768_IAR/ParTest.c index 600f87533..1b1c20784 100644 --- a/FreeRTOS/Demo/CORTEX_LPC1768_IAR/ParTest.c +++ b/FreeRTOS/Demo/CORTEX_LPC1768_IAR/ParTest.c @@ -1,7 +1,7 @@ /* FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd. - FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT + FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. *************************************************************************** @@ -42,7 +42,7 @@ FreeRTOS WEB site. 1 tab == 4 spaces! - + *************************************************************************** * * * Having a problem? Start by reading the FAQ "My application does * @@ -52,17 +52,17 @@ * * *************************************************************************** - - http://www.FreeRTOS.org - Documentation, training, latest versions, license - and contact details. - + + http://www.FreeRTOS.org - Documentation, training, latest versions, license + and contact details. + http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products, including FreeRTOS+Trace - an indispensable productivity tool. - Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell - the code with commercial support, indemnification, and middleware, under + Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell + the code with commercial support, indemnification, and middleware, under the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also - provide a safety engineered and independently SIL3 certified version under + provide a safety engineered and independently SIL3 certified version under the SafeRTOS brand: http://www.SafeRTOS.com. */ @@ -118,7 +118,7 @@ void vParTestSetLED( unsigned long ulLEDIn, signed long xValue ) { GPIO0->FIOSET = partstLED2_OUTPUT; } - } + } } /*-----------------------------------------------------------*/ @@ -144,8 +144,8 @@ unsigned long ulCurrentState; else if( ulLEDIn == 1 ) { /* If this bit is already set, clear it, and visa versa. */ - ulCurrentState = GPIO1->FIOPIN; - if( ulCurrentState & partstLED1_OUTPUT ) + ulCurrentState = GPIO0->FIOPIN; + if( ulCurrentState & partstLED2_OUTPUT ) { GPIO0->FIOCLR = partstLED2_OUTPUT; } @@ -153,7 +153,7 @@ unsigned long ulCurrentState; { GPIO0->FIOSET = partstLED2_OUTPUT; } - } + } } /*-----------------------------------------------------------*/