]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/ARM7_LPC2129_Keil_RVDS/main.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / ARM7_LPC2129_Keil_RVDS / main.c
index a8612fa1b86781a941c9531749dfae3c604af7ba..8b5b541f4d53d1a07989a766eb7111b2eb792dc5 100644 (file)
@@ -133,8 +133,8 @@ indicate whether an error has been detected or not.  If the LED toggles every
 3 seconds then no errors have been detected.  If the rate increases to 500ms\r
 then an error has been detected in at least one of the demo application tasks. */\r
 #define mainCHECK_LED                          ( 7 )\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
 /*-----------------------------------------------------------*/\r
 \r
@@ -201,7 +201,7 @@ int main( void )
 \r
 static void vErrorChecks( void *pvParameters )\r
 {\r
-portTickType xDelayPeriod = mainNO_ERROR_FLASH_PERIOD;\r
+TickType_t xDelayPeriod = mainNO_ERROR_FLASH_PERIOD;\r
 \r
        /* Parameters are not used. */\r
        ( void ) pvParameters;\r