]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Minimal_Windows_Simulator/demo_logging.c
Update version number ready for next release.
[freertos] / FreeRTOS-Plus / Demo / FreeRTOS_Plus_TCP_Minimal_Windows_Simulator / demo_logging.c
index 0e12a08bd54733cb626491777d76fccddd457a6a..d6a1d257778ae5f2aa64025fee0c1e97e4926793 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * FreeRTOS Kernel V10.0.0\r
+ * FreeRTOS Kernel V10.2.1\r
  * Copyright (C) 2017 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
  *\r
  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
@@ -10,8 +10,7 @@
  * subject to the following conditions:\r
  *\r
  * The above copyright notice and this permission notice shall be included in all\r
- * copies or substantial portions of the Software. If you wish to use our Amazon\r
- * FreeRTOS name, please do so in a fair use way that does not cause confusion.\r
+ * copies or substantial portions of the Software.\r
  *\r
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
@@ -297,8 +296,8 @@ HANDLE xCurrentTask;
                if( xLength2 <  0 )\r
                {\r
                        /* Clean up. */\r
-                       xLength2 = sizeof( cPrintString ) - 1 - xLength;\r
-                       cPrintString[ sizeof( cPrintString ) - 1 ] = '\0';\r
+                       xLength2 = dlMAX_PRINT_STRING_LENGTH - 1 - xLength;\r
+                       cPrintString[ dlMAX_PRINT_STRING_LENGTH - 1 ] = '\0';\r
                }\r
 \r
                xLength += xLength2;\r