Correct cut and paste error in partest.c file.

This commit is contained in:
Richard Barry 2012-10-29 16:17:05 +00:00
parent ba686260ca
commit 2a47ddd1f5

View File

@ -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;
}
}
}
}
/*-----------------------------------------------------------*/