]> git.sur5r.net Git - freertos/commitdiff
Correct cut and paste error in partest.c file.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 29 Oct 2012 16:17:05 +0000 (16:17 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 29 Oct 2012 16:17:05 +0000 (16:17 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1804 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Demo/CORTEX_LPC1768_IAR/ParTest.c

index 600f875330e21867a8ec213c37287c1cd94ca5b5..1b1c2078449abcce6bd4a6d80b20da7a69ecb68d 100644 (file)
@@ -1,7 +1,7 @@
 /*\r
     FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd.\r
 \r
-    FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME.  PLEASE VISIT \r
+    FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME.  PLEASE VISIT\r
     http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
 \r
     ***************************************************************************\r
@@ -42,7 +42,7 @@
     FreeRTOS WEB site.\r
 \r
     1 tab == 4 spaces!\r
-    \r
+\r
     ***************************************************************************\r
      *                                                                       *\r
      *    Having a problem?  Start by reading the FAQ "My application does   *\r
      *                                                                       *\r
     ***************************************************************************\r
 \r
-    \r
-    http://www.FreeRTOS.org - Documentation, training, latest versions, license \r
-    and contact details.  \r
-    \r
+\r
+    http://www.FreeRTOS.org - Documentation, training, latest versions, license\r
+    and contact details.\r
+\r
     http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,\r
     including FreeRTOS+Trace - an indispensable productivity tool.\r
 \r
-    Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell \r
-    the code with commercial support, indemnification, and middleware, under \r
+    Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell\r
+    the code with commercial support, indemnification, and middleware, under\r
     the OpenRTOS brand: http://www.OpenRTOS.com.  High Integrity Systems also\r
-    provide a safety engineered and independently SIL3 certified version under \r
+    provide a safety engineered and independently SIL3 certified version under\r
     the SafeRTOS brand: http://www.SafeRTOS.com.\r
 */\r
 \r
@@ -118,7 +118,7 @@ void vParTestSetLED( unsigned long ulLEDIn, signed long xValue )
                {\r
                        GPIO0->FIOSET = partstLED2_OUTPUT;\r
                }\r
-       }       \r
+       }\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
@@ -144,8 +144,8 @@ unsigned long ulCurrentState;
        else if( ulLEDIn == 1 )\r
        {\r
                /* If this bit is already set, clear it, and visa versa. */\r
-               ulCurrentState = GPIO1->FIOPIN;\r
-               if( ulCurrentState & partstLED1_OUTPUT )\r
+               ulCurrentState = GPIO0->FIOPIN;\r
+               if( ulCurrentState & partstLED2_OUTPUT )\r
                {\r
                        GPIO0->FIOCLR = partstLED2_OUTPUT;\r
                }\r
@@ -153,7 +153,7 @@ unsigned long ulCurrentState;
                {\r
                        GPIO0->FIOSET = partstLED2_OUTPUT;\r
                }\r
-       }       \r
+       }\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r