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

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