]> git.sur5r.net Git - freertos/blobdiff - Demo/CORTEX_LPC1768_GCC_Rowley/main.c
Tidy up Ethernet driver.
[freertos] / Demo / CORTEX_LPC1768_GCC_Rowley / main.c
index 049897b41059d94f31e03aebb5607f97168c18d7..3414ee22fe0ef238ae687b5432e91fdabd99fda4 100644 (file)
@@ -165,8 +165,6 @@ static void vLCDTask( void *pvParameters );
 /* The queue used to send messages to the LCD task. */\r
 xQueueHandle xLCDQueue;\r
 \r
-\r
-\r
 /*-----------------------------------------------------------*/\r
 \r
 int main( void )\r
@@ -186,7 +184,6 @@ long l;
     vStartGenericQueueTasks( mainGEN_QUEUE_TASK_PRIORITY );\r
     vStartQueuePeekTasks();\r
     vStartRecursiveMutexTasks();\r
-\r
        vStartLEDFlashTasks( mainFLASH_TASK_PRIORITY );\r
 \r
        /* Create the uIP task.  The WEB server runs in this task. */\r
@@ -356,10 +353,8 @@ void prvSetupHardware( void )
        /*  Setup the peripheral bus to be the same as the PLL output (64 MHz). */\r
        PCLKSEL0 = 0x05555555;\r
 \r
-       /* Configure LED GPIOs as outputs. */\r
-       FIO2DIR  = 0xff;\r
-       FIO2CLR  = 0xff;\r
-       FIO2MASK = 0;\r
+       /* Configure the LEDs. */\r
+       vParTestInitialise();\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r