]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/TriCore_TC1782_TriBoard_GCC/RTOSDemo/main.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / TriCore_TC1782_TriBoard_GCC / RTOSDemo / main.c
index 3e0590e39276d931fe7c3aa701fcf1927cd2ed87..235c9b669162426e5a605c55b6abd281a6a2c4dd 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_MS   ( ( portTickType ) 5000 / portTICK_RATE_MS      )\r
-#define mainERROR_FLASH_PERIOD_MS              ( ( portTickType ) 500 / portTICK_RATE_MS  )\r
+#define mainNO_ERROR_FLASH_PERIOD_MS   ( ( TickType_t ) 5000 / portTICK_PERIOD_MS      )\r
+#define mainERROR_FLASH_PERIOD_MS              ( ( TickType_t ) 500 / portTICK_PERIOD_MS  )\r
 #define mainON_BOARD_LED_BIT                   ( ( unsigned long ) 7 )\r
 \r
 /* Constant used by the standard timer test functions.  The timers created by\r
@@ -265,8 +265,8 @@ int main( void )
 \r
 static void prvCheckTask( void *pvParameters )\r
 {\r
-portTickType xDelayPeriod = mainNO_ERROR_FLASH_PERIOD_MS;\r
-portTickType xLastExecutionTime;\r
+TickType_t xDelayPeriod = mainNO_ERROR_FLASH_PERIOD_MS;\r
+TickType_t xLastExecutionTime;\r
 \r
        /* Just to stop compiler warnings. */\r
        ( void ) pvParameters;\r