]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RL78_E2Studio_GCC/src/Common-Demo-Tasks/dynamic.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / RL78_E2Studio_GCC / src / Common-Demo-Tasks / dynamic.c
index 5b34d8a6a974f3ffc780f501e302df3788136d9c..69da6f0dcc15b848fab56bb0a6ceb0b69dd029bc 100644 (file)
@@ -153,17 +153,17 @@ static portTASK_FUNCTION_PROTO( vQueueSendWhenSuspendedTask, pvParameters );
 \r
 /* Demo task specific constants. */\r
 #define priSTACK_SIZE                          ( configMINIMAL_STACK_SIZE )\r
-#define priSLEEP_TIME                          ( ( portTickType ) 128 / portTICK_RATE_MS )\r
+#define priSLEEP_TIME                          ( ( TickType_t ) 128 / portTICK_PERIOD_MS )\r
 #define priLOOPS                                       ( 5 )\r
 #define priMAX_COUNT                           ( ( unsigned long ) 0xff )\r
-#define priNO_BLOCK                                    ( ( portTickType ) 0 )\r
+#define priNO_BLOCK                                    ( ( TickType_t ) 0 )\r
 #define priSUSPENDED_QUEUE_LENGTH      ( 1 )\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
 /* Handles to the two counter tasks.  These could be passed in as parameters\r
 to the controller task to prevent them having to be file scope. */\r
-static xTaskHandle xContinousIncrementHandle, xLimitedIncrementHandle;\r
+static TaskHandle_t xContinousIncrementHandle, xLimitedIncrementHandle;\r
 \r
 /* The shared counter variable.  This is passed in as a parameter to the two\r
 counter variables for demonstration purposes. */\r
@@ -178,7 +178,7 @@ static volatile portBASE_TYPE xSuspendedQueueSendError = pdFALSE;
 static volatile portBASE_TYPE xSuspendedQueueReceiveError = pdFALSE;\r
 \r
 /* Queue used by the second test. */\r
-static xQueueHandle xSuspendedTestQueue;\r
+static QueueHandle_t xSuspendedTestQueue;\r
 \r
 /*-----------------------------------------------------------*/\r
 /*\r