]> git.sur5r.net Git - freertos/commitdiff
Moved where LCD_Init() is called from so it cannot call vTaskDelay() before the sched...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 8 Mar 2007 21:08:52 +0000 (21:08 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 8 Mar 2007 21:08:52 +0000 (21:08 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@68 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/ARM9_STR91X_IAR/main.c

index f14d2c1381ff36af014d858022ad03b24218b7c2..aa3cd257886cea2b0e96d480494eb766511a4be1 100644 (file)
@@ -250,7 +250,6 @@ static void prvSetupHardware( void )
        SCU_AHBPeriphReset(__VIC, DISABLE);\r
 \r
        /* Peripheral initialisation. */\r
-       LCD_Init();\r
        vParTestInitialise();\r
 }\r
 /*-----------------------------------------------------------*/\r
@@ -397,6 +396,8 @@ portCHAR *pcString;
        scope variable anyway. */\r
        pxLCDQueue = ( xQueueHandle * ) pvParameters;\r
 \r
+       LCD_Init();\r
+\r
        for( ;; )    \r
        {\r
                /* Wait for a message to arrive. */\r