From: richardbarry Date: Mon, 29 Oct 2012 16:17:05 +0000 (+0000) Subject: Correct cut and paste error in partest.c file. X-Git-Tag: V7.3.0~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd50a592f13f81c49809f73dca1151d30b8528a1;p=freertos Correct cut and paste error in partest.c file. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1804 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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; } - } + } } /*-----------------------------------------------------------*/