]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_LM3S102_GCC/Demo2/main.c
Replace use of legacy portTYPE macros from old demos and standard demo files.
[freertos] / FreeRTOS / Demo / CORTEX_LM3S102_GCC / Demo2 / main.c
index e94462fcf3e742ed145b3e4a3be65ba72cb8b0be..addac91e8abfa6e38a3ff1185c5084eddac5cae0 100644 (file)
@@ -197,13 +197,13 @@ static void vLCDTask( void * pvParameters );
 /*\r
  * The task that receives the characters from UART 0.\r
  */\r
-static void vCommsRxCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex );\r
+static void vCommsRxCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex );\r
 \r
 /*\r
  * The co-routine that periodically initiates the transmission of the string on\r
  * the UART.\r
  */\r
-static void vSerialTxCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex );\r
+static void vSerialTxCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex );\r
 \r
 /* \r
  * Writes a string the the LCD.\r
@@ -383,7 +383,7 @@ const char *pcStringsToDisplay[] = {
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-static void vCommsRxCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex )\r
+static void vCommsRxCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex )\r
 {\r
 static char cRxedChar, cExpectedChar = mainFIRST_TX_CHAR;\r
 portBASE_TYPE xResult;\r
@@ -436,7 +436,7 @@ portBASE_TYPE xResult;
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-static void vSerialTxCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex )\r
+static void vSerialTxCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex )\r
 {\r
 portTickType xDelayPeriod;\r
 static unsigned long *pulRandomBytes = mainFIRST_PROGRAM_BYTES;\r