mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Correct cut and paste error in partest.c file.
This commit is contained in:
parent
ba686260ca
commit
2a47ddd1f5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue