]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_SmartFusion2_M2S050_SoftConsole/RTOSDemo/Full-Demo/UARTCommandConsole.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / CORTEX_SmartFusion2_M2S050_SoftConsole / RTOSDemo / Full-Demo / UARTCommandConsole.c
index 9cc962ba8ef84e8e8d206192f863a2f31959f537..af815a41b895326bc0c83aa1141d2c283f5f7f79 100644 (file)
@@ -83,7 +83,7 @@
 #define cmdMAX_INPUT_SIZE              50\r
 \r
 /* The maximum time in ticks to wait for the UART access mutex. */\r
-#define cmdMAX_MUTEX_WAIT              ( 200 / portTICK_RATE_MS )\r
+#define cmdMAX_MUTEX_WAIT              ( 200 / portTICK_PERIOD_MS )\r
 \r
 /* Characters are only ever received slowly on the CLI so it is ok to pass\r
 received characters from the UART interrupt to the task on a queue.  This sets\r
@@ -129,7 +129,7 @@ static const char * const pcNewLine = "\r\n";
 /* Because characters are received slowly (at the speed somebody can type) then\r
 it is ok to pass received characters from the Rx interrupt to the task on a\r
 queue.  This is the queue used for that purpose. */\r
-static xQueueHandle xRxedChars = NULL;\r
+static QueueHandle_t xRxedChars = NULL;\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -251,7 +251,7 @@ portBASE_TYPE xReturned;
 \r
 static void prvSendBuffer( const char * pcBuffer, size_t xBufferLength )\r
 {\r
-const portTickType xVeryShortDelay = 2UL;\r
+const TickType_t xVeryShortDelay = 2UL;\r
 \r
        if( xBufferLength > 0 )\r
        {\r