]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/Xilinx_FreeRTOS_BSP/repo/sw_apps/freertos_hello_world/src/freertos_hello_world.c
Prepare for V9.0.0 release:
[freertos] / FreeRTOS / Demo / Xilinx_FreeRTOS_BSP / repo / sw_apps / freertos_hello_world / src / freertos_hello_world.c
index e2bb576072d1acdc0bf32dc6c69f76c8a6857dd0..820c3564bf4b52c7343fecc170833914634b4362 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V8.2.2 - Copyright (C) 2015 Real Time Engineers Ltd.\r
+    FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.\r
     All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
@@ -8,7 +8,7 @@
 \r
     FreeRTOS is free software; you can redistribute it and/or modify it under\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
+    Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.\r
 \r
     ***************************************************************************\r
     >>!   NOTE: The modification to the GPL is included to allow you to     !<<\r
@@ -138,9 +138,8 @@ int main( void )
        for more details. */\r
        for( ;; );\r
 }\r
-\r
-\r
 /*-----------------------------------------------------------*/\r
+\r
 static void prvTxTask( void *pvParameters )\r
 {\r
 const TickType_t x500ms = pdMS_TO_TICKS( 500UL );\r
@@ -156,10 +155,12 @@ uint32_t ulValueToSend = 0;
                xQueueSend( xQueue,                     /* The queue being written to. */\r
                                        &ulValueToSend, /* The address of the data being sent. */\r
                                        0UL );                  /* The block time. */\r
+\r
+               ulValueToSend++;\r
        }\r
 }\r
-\r
 /*-----------------------------------------------------------*/\r
+\r
 static void prvRxTask( void *pvParameters )\r
 {\r
 uint32_t ulValueReceived;\r
@@ -172,7 +173,7 @@ uint32_t ulValueReceived;
                                                portMAX_DELAY );        /* Wait without a timeout for data. */\r
 \r
                /* Print the received data. */\r
-               xil_printf( "Rx task received %u\r\n", ( unsigned int ) ulValueReceived );\r
+               xil_printf( "Rx task received %d\r\n", ( int ) ulValueReceived );\r
        }\r
 }\r
 \r