]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_STM32F103_Primer_GCC/ParTest/ParTest.c
Update version number to 8.1.2 after moving the defaulting of configUSE_PORT_OPTIMISE...
[freertos] / FreeRTOS / Demo / CORTEX_STM32F103_Primer_GCC / ParTest / ParTest.c
index 7a3aaf93b2c7167ef424e815778a282809cdd8e9..eb1934d827065482507262caa2e2d2ebf26a5960 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd. \r
+    FreeRTOS V8.1.2 - Copyright (C) 2014 Real Time Engineers Ltd. \r
     All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
     the terms of the GNU General Public License (version 2) as published by the\r
     Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
 \r
-    >>! NOTE: The modification to the GPL is included to allow you to distribute\r
-    >>! a combined work that includes FreeRTOS without being obliged to provide\r
-    >>! the source code for proprietary components outside of the FreeRTOS\r
-    >>! kernel.\r
+    >>!   NOTE: The modification to the GPL is included to allow you to     !<<\r
+    >>!   distribute a combined work that includes FreeRTOS without being   !<<\r
+    >>!   obliged to provide the source code for proprietary components     !<<\r
+    >>!   outside of the FreeRTOS kernel.                                   !<<\r
 \r
     FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
@@ -75,7 +75,7 @@
 #define partstMAX_OUTPUT_LED   ( 2 )\r
 #define partstFIRST_LED                        GPIO_Pin_8\r
 \r
-static unsigned portSHORT usOutputValue = 0;\r
+static unsigned short usOutputValue = 0;\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -97,7 +97,7 @@ GPIO_InitTypeDef GPIO_InitStructure;
 \r
 void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue )\r
 {\r
-unsigned portSHORT usBit;\r
+unsigned short usBit;\r
 \r
        vTaskSuspendAll();\r
        {\r
@@ -107,7 +107,7 @@ unsigned portSHORT usBit;
 \r
                        if( xValue == pdFALSE )\r
                        {\r
-                               usBit ^= ( unsigned portSHORT ) 0xffff;\r
+                               usBit ^= ( unsigned short ) 0xffff;\r
                                usOutputValue &= usBit;\r
                        }\r
                        else\r
@@ -124,7 +124,7 @@ unsigned portSHORT usBit;
 \r
 void vParTestToggleLED( unsigned portBASE_TYPE uxLED )\r
 {\r
-unsigned portSHORT usBit;\r
+unsigned short usBit;\r
 \r
        vTaskSuspendAll();\r
        {\r