]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Plus/Demo/FreeRTOS_Plus_FAT_SL_and_CLI_Windows_Simulator/File-system-demo.c
Update FreeRTOS+ components and demos to use typedef names introduced in FreeRTOS V8.
[freertos] / FreeRTOS-Plus / Demo / FreeRTOS_Plus_FAT_SL_and_CLI_Windows_Simulator / File-system-demo.c
index f810d03af0dc796e8a8e48ac0037adfc5e11c452..91aa04bc18e8d5486d8cf2de83b3503152ed9c50 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd.\r
+    FreeRTOS V8.0.1 - 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
@@ -163,9 +163,9 @@ unsigned char ucStatus;
 \r
 static void prvCreateDemoFilesUsing_f_write( void )\r
 {\r
-portBASE_TYPE xFileNumber, xWriteNumber;\r
+BaseType_t xFileNumber, xWriteNumber;\r
 char cFileName[ fsMAX_FILE_NAME_LEN ];\r
-const portBASE_TYPE xMaxFiles = 5;\r
+const BaseType_t xMaxFiles = 5;\r
 long lItemsWritten;\r
 F_FILE *pxFile;\r
 \r
@@ -207,9 +207,9 @@ F_FILE *pxFile;
 \r
 static void prvVerifyDemoFileUsing_f_read( void )\r
 {\r
-portBASE_TYPE xFileNumber, xReadNumber;\r
+BaseType_t xFileNumber, xReadNumber;\r
 char cFileName[ fsMAX_FILE_NAME_LEN ];\r
-const portBASE_TYPE xMaxFiles = 5;\r
+const BaseType_t xMaxFiles = 5;\r
 long lItemsRead, lChar;\r
 F_FILE *pxFile;\r
 \r