summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/RL78_multiple_IAR/main_blinky.c
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Demo/RL78_multiple_IAR/main_blinky.c')
-rw-r--r--FreeRTOS/Demo/RL78_multiple_IAR/main_blinky.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/FreeRTOS/Demo/RL78_multiple_IAR/main_blinky.c b/FreeRTOS/Demo/RL78_multiple_IAR/main_blinky.c
index d96a310f4..90df40724 100644
--- a/FreeRTOS/Demo/RL78_multiple_IAR/main_blinky.c
+++ b/FreeRTOS/Demo/RL78_multiple_IAR/main_blinky.c
@@ -117,8 +117,8 @@
#define mainQUEUE_SEND_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )
/* The rate at which data is sent to the queue. The 200ms value is converted
-to ticks using the portTICK_RATE_MS constant. */
-#define mainQUEUE_SEND_FREQUENCY_MS ( 200 / portTICK_RATE_MS )
+to ticks using the portTICK_PERIOD_MS constant. */
+#define mainQUEUE_SEND_FREQUENCY_MS ( 200 / portTICK_PERIOD_MS )
/* The number of items the queue can hold. This is 1 as the receive task
will remove items as they are added, meaning the send task should always find
@@ -150,7 +150,7 @@ void main_blinky( void );
/*-----------------------------------------------------------*/
/* The queue used by both tasks. */
-static xQueueHandle xQueue = NULL;
+static QueueHandle_t xQueue = NULL;
/*-----------------------------------------------------------*/
@@ -187,7 +187,7 @@ void main_blinky( void )
static void prvQueueSendTask( void *pvParameters )
{
-portTickType xNextWakeTime;
+TickType_t xNextWakeTime;
const unsigned long ulValueToSend = 100UL;
/* Check the parameter was passed in correctly. */