]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/uIP_Demo_IAR_ARM7/main.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / uIP_Demo_IAR_ARM7 / main.c
index b0e67df901920fde05c25de256ff095f94e05cc0..853df70b13f380fba4e10dadb11fcee09baf5717 100644 (file)
 \r
 /* The rate at which the on board LED will toggle when there is/is not an\r
 error. */\r
-#define mainNO_ERROR_FLASH_PERIOD      ( ( portTickType ) 3000 / portTICK_RATE_MS  )\r
-#define mainERROR_FLASH_PERIOD         ( ( portTickType ) 500 / portTICK_RATE_MS  )\r
+#define mainNO_ERROR_FLASH_PERIOD      ( ( TickType_t ) 3000 / portTICK_PERIOD_MS  )\r
+#define mainERROR_FLASH_PERIOD         ( ( TickType_t ) 500 / portTICK_PERIOD_MS  )\r
 \r
 /* The LED used by the check task to indicate the system status. */\r
 #define mainCHECK_LED                          ( 3 )\r
@@ -204,8 +204,8 @@ static void prvSetupHardware( void )
 \r
 static void vErrorChecks( void *pvParameters )\r
 {\r
-portTickType xDelayPeriod = mainNO_ERROR_FLASH_PERIOD;\r
-portTickType xLastWakeTime;\r
+TickType_t xDelayPeriod = mainNO_ERROR_FLASH_PERIOD;\r
+TickType_t xLastWakeTime;\r
 \r
        /* Initialise xLastWakeTime to ensure the first call to vTaskDelayUntil()\r
        functions correctly. */\r