Spelling corrections in comments only.

This commit is contained in:
Richard Barry 2013-11-28 13:24:05 +00:00
parent 00ad1a0200
commit e682aec507
8 changed files with 9 additions and 9 deletions

View file

@ -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 )
{ {

View file

@ -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 )
{ {

View file

@ -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 )
{ {

View file

@ -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 )
{ {

View file

@ -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 )
{ {

View file

@ -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 )
{ {

View file

@ -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 )
{ {

View file

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