]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/Cygnal/main.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / Cygnal / main.c
index 2b2d135387140d8ce777f0041dc870d313a9246b..6a42bf6548f3ccd42783290fb981692df3dfcaad 100644 (file)
 \r
 /* Toggle rate for the on board LED - which is dependent on whether or not\r
 an error has been detected. */\r
-#define mainNO_ERROR_FLASH_PERIOD      ( ( portTickType ) 5000 )\r
-#define mainERROR_FLASH_PERIOD         ( ( portTickType ) 250 )\r
+#define mainNO_ERROR_FLASH_PERIOD      ( ( TickType_t ) 5000 )\r
+#define mainERROR_FLASH_PERIOD         ( ( TickType_t ) 250 )\r
 \r
 /* Baud rate used by the serial port tasks. */\r
 #define mainCOM_TEST_BAUD_RATE         ( ( unsigned long ) 115200 )\r
@@ -241,13 +241,13 @@ void main( void )
        must not be used with the co-operative scheduler. */\r
        #if configUSE_PREEMPTION == 1\r
        {\r
-               xTaskCreate( vRegisterCheck, "RegChck", configMINIMAL_STACK_SIZE, mainDUMMY_POINTER, tskIDLE_PRIORITY, ( xTaskHandle * ) NULL );\r
-               xTaskCreate( vFLOPCheck1, "FLOP", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, ( xTaskHandle * ) NULL );\r
-               xTaskCreate( vFLOPCheck2, "FLOP", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, ( xTaskHandle * ) NULL );\r
+               xTaskCreate( vRegisterCheck, "RegChck", configMINIMAL_STACK_SIZE, mainDUMMY_POINTER, tskIDLE_PRIORITY, ( TaskHandle_t * ) NULL );\r
+               xTaskCreate( vFLOPCheck1, "FLOP", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, ( TaskHandle_t * ) NULL );\r
+               xTaskCreate( vFLOPCheck2, "FLOP", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, ( TaskHandle_t * ) NULL );\r
        }\r
        #endif \r
 \r
-       xTaskCreate( vErrorChecks, "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, ( xTaskHandle * ) NULL );\r
+       xTaskCreate( vErrorChecks, "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, ( TaskHandle_t * ) NULL );\r
 \r
        /* Finally kick off the scheduler.  This function should never return. */\r
        vTaskStartScheduler();\r