mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-24 15:31:56 -04:00
Spelling corrections in comments only.
This commit is contained in:
parent
00ad1a0200
commit
e682aec507
|
@ -124,7 +124,7 @@ unsigned long ulLED = partstFIRST_IO, ulCurrentState;
|
||||||
attached. */
|
attached. */
|
||||||
ulLED <<= ( unsigned long ) uxLED;
|
ulLED <<= ( unsigned long ) uxLED;
|
||||||
|
|
||||||
/* If this bit is already set, clear it, and visa versa. */
|
/* If this bit is already set, clear it, and vice versa. */
|
||||||
ulCurrentState = GPIO0_IOPIN;
|
ulCurrentState = GPIO0_IOPIN;
|
||||||
if( ulCurrentState & ulLED )
|
if( ulCurrentState & ulLED )
|
||||||
{
|
{
|
||||||
|
|
|
@ -119,7 +119,7 @@ unsigned long ulLED = partstFIRST_IO, ulCurrentState;
|
||||||
attached. */
|
attached. */
|
||||||
ulLED <<= ( unsigned long ) uxLED;
|
ulLED <<= ( unsigned long ) uxLED;
|
||||||
|
|
||||||
/* If this bit is already set, clear it, and visa versa. */
|
/* If this bit is already set, clear it, and vice versa. */
|
||||||
ulCurrentState = IO1PIN;
|
ulCurrentState = IO1PIN;
|
||||||
if( ulCurrentState & ulLED )
|
if( ulCurrentState & ulLED )
|
||||||
{
|
{
|
||||||
|
|
|
@ -115,7 +115,7 @@ unsigned long ulLED = partstFIRST_IO, ulCurrentState;
|
||||||
attached. */
|
attached. */
|
||||||
ulLED <<= ( unsigned long ) uxLED;
|
ulLED <<= ( unsigned long ) uxLED;
|
||||||
|
|
||||||
/* If this bit is already set, clear it, and visa versa. */
|
/* If this bit is already set, clear it, and vice versa. */
|
||||||
ulCurrentState = IOPIN1;
|
ulCurrentState = IOPIN1;
|
||||||
if( ulCurrentState & ulLED )
|
if( ulCurrentState & ulLED )
|
||||||
{
|
{
|
||||||
|
|
|
@ -121,7 +121,7 @@ unsigned portLONG ulLED = partstFIRST_IO, ulCurrentState;
|
||||||
attached. */
|
attached. */
|
||||||
ulLED <<= ( unsigned portLONG ) uxLED;
|
ulLED <<= ( unsigned portLONG ) uxLED;
|
||||||
|
|
||||||
/* If this bit is already set, clear it, and visa versa. */
|
/* If this bit is already set, clear it, and vice versa. */
|
||||||
ulCurrentState = FIO2PIN;
|
ulCurrentState = FIO2PIN;
|
||||||
if( ulCurrentState & ulLED )
|
if( ulCurrentState & ulLED )
|
||||||
{
|
{
|
||||||
|
|
|
@ -121,7 +121,7 @@ unsigned long ulLED = partstFIRST_IO, ulCurrentState;
|
||||||
attached. */
|
attached. */
|
||||||
ulLED <<= ( unsigned long ) uxLED;
|
ulLED <<= ( unsigned long ) uxLED;
|
||||||
|
|
||||||
/* If this bit is already set, clear it, and visa versa. */
|
/* If this bit is already set, clear it, and vice versa. */
|
||||||
ulCurrentState = FIO2PIN;
|
ulCurrentState = FIO2PIN;
|
||||||
if( ulCurrentState & ulLED )
|
if( ulCurrentState & ulLED )
|
||||||
{
|
{
|
||||||
|
|
|
@ -127,7 +127,7 @@ unsigned long ulLED = partstFIRST_IO, ulCurrentState;
|
||||||
attached. */
|
attached. */
|
||||||
ulLED <<= ( unsigned long ) ulLEDIn;
|
ulLED <<= ( unsigned long ) ulLEDIn;
|
||||||
|
|
||||||
/* If this bit is already set, clear it, and visa versa. */
|
/* If this bit is already set, clear it, and vice versa. */
|
||||||
ulCurrentState = GPIO2->FIOPIN;
|
ulCurrentState = GPIO2->FIOPIN;
|
||||||
if( ulCurrentState & ulLED )
|
if( ulCurrentState & ulLED )
|
||||||
{
|
{
|
||||||
|
|
|
@ -127,7 +127,7 @@ unsigned long ulCurrentState;
|
||||||
|
|
||||||
if( ulLEDIn == 0 )
|
if( ulLEDIn == 0 )
|
||||||
{
|
{
|
||||||
/* If this bit is already set, clear it, and visa versa. */
|
/* If this bit is already set, clear it, and vice versa. */
|
||||||
ulCurrentState = GPIO1->FIOPIN;
|
ulCurrentState = GPIO1->FIOPIN;
|
||||||
if( ulCurrentState & partstLED1_OUTPUT )
|
if( ulCurrentState & partstLED1_OUTPUT )
|
||||||
{
|
{
|
||||||
|
@ -140,7 +140,7 @@ unsigned long ulCurrentState;
|
||||||
}
|
}
|
||||||
else if( ulLEDIn == 1 )
|
else if( ulLEDIn == 1 )
|
||||||
{
|
{
|
||||||
/* If this bit is already set, clear it, and visa versa. */
|
/* If this bit is already set, clear it, and vice versa. */
|
||||||
ulCurrentState = GPIO0->FIOPIN;
|
ulCurrentState = GPIO0->FIOPIN;
|
||||||
if( ulCurrentState & partstLED2_OUTPUT )
|
if( ulCurrentState & partstLED2_OUTPUT )
|
||||||
{
|
{
|
||||||
|
|
|
@ -357,7 +357,7 @@ unsigned char ucOriginalSFRPage;
|
||||||
|
|
||||||
static void prvToggleOnBoardLED( void )
|
static void prvToggleOnBoardLED( void )
|
||||||
{
|
{
|
||||||
/* If the on board LED is on, turn it off and visa versa. */
|
/* If the on board LED is on, turn it off and vice versa. */
|
||||||
if( P1 & ucLED_BIT )
|
if( P1 & ucLED_BIT )
|
||||||
{
|
{
|
||||||
P1 &= ~ucLED_BIT;
|
P1 &= ~ucLED_BIT;
|
||||||
|
|
Loading…
Reference in a new issue