summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/PC/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Demo/PC/main.c')
-rw-r--r--FreeRTOS/Demo/PC/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/FreeRTOS/Demo/PC/main.c b/FreeRTOS/Demo/PC/main.c
index 692090256..2c72018a4 100644
--- a/FreeRTOS/Demo/PC/main.c
+++ b/FreeRTOS/Demo/PC/main.c
@@ -251,10 +251,10 @@ void vMainQueueSendPassed( void )
static void vErrorChecks( void *pvParameters )
{
-portTickType xExpectedWakeTime;
-const portTickType xPrintRate = ( portTickType ) 5000 / portTICK_RATE_MS;
+TickType_t xExpectedWakeTime;
+const TickType_t xPrintRate = ( TickType_t ) 5000 / portTICK_PERIOD_MS;
const long lMaxAllowableTimeDifference = ( long ) 0;
-portTickType xWakeTime;
+TickType_t xWakeTime;
long lTimeDifference;
const char *pcReceivedMessage;
const char * const pcTaskBlockedTooLongMsg = "Print task blocked too long!\r\n";