]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Plus/Demo/FreeRTOS_Plus_UDP_and_CLI_Windows_Simulator/DemoTasks/UDPCommandServer.c
Update FreeRTOS+ components and demos to use typedef names introduced in FreeRTOS V8.
[freertos] / FreeRTOS-Plus / Demo / FreeRTOS_Plus_UDP_and_CLI_Windows_Simulator / DemoTasks / UDPCommandServer.c
index f89e32cc638de15229d48eaf650c165bf5e16488..bb2ae8c0944efbcc14e4f89185b3e18a8ac15899 100644 (file)
@@ -102,7 +102,7 @@ static xSocket_t prvOpenUDPServerSocket( uint16_t usPort );
 \r
 /*-----------------------------------------------------------*/\r
 \r
-void vStartUDPCommandInterpreterTask( uint16_t usStackSize, uint32_t ulPort, unsigned portBASE_TYPE uxPriority )\r
+void vStartUDPCommandInterpreterTask( uint16_t usStackSize, uint32_t ulPort, UBaseType_t uxPriority )\r
 {\r
        xTaskCreate( vUDPCommandInterpreterTask, "CLI", usStackSize, ( void * ) ulPort, uxPriority, NULL );\r
 }\r
@@ -118,7 +118,7 @@ void vUDPCommandInterpreterTask( void *pvParameters )
 long lBytes, lByte;\r
 signed char cInChar, cInputIndex = 0;\r
 static signed char cInputString[ cmdMAX_INPUT_SIZE ], cOutputString[ cmdMAX_OUTPUT_SIZE ], cLocalBuffer[ cmdSOCKET_INPUT_BUFFER_SIZE ];\r
-portBASE_TYPE xMoreDataToFollow;\r
+BaseType_t xMoreDataToFollow;\r
 struct freertos_sockaddr xClient;\r
 socklen_t xClientAddressLength = 0; /* This is required as a parameter to maintain the sendto() Berkeley sockets API - but it is not actually used so can take any value. */\r
 xSocket_t xSocket;\r