From 5d413a00783e55b51046ea90096dbd0c8f859ed8 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Thu, 8 Mar 2007 21:08:52 +0000 Subject: [PATCH] Moved where LCD_Init() is called from so it cannot call vTaskDelay() before the scheduler is started. --- Demo/ARM9_STR91X_IAR/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Demo/ARM9_STR91X_IAR/main.c b/Demo/ARM9_STR91X_IAR/main.c index f14d2c138..aa3cd2578 100644 --- a/Demo/ARM9_STR91X_IAR/main.c +++ b/Demo/ARM9_STR91X_IAR/main.c @@ -250,7 +250,6 @@ static void prvSetupHardware( void ) SCU_AHBPeriphReset(__VIC, DISABLE); /* Peripheral initialisation. */ - LCD_Init(); vParTestInitialise(); } /*-----------------------------------------------------------*/ @@ -397,6 +396,8 @@ portCHAR *pcString; scope variable anyway. */ pxLCDQueue = ( xQueueHandle * ) pvParameters; + LCD_Init(); + for( ;; ) { /* Wait for a message to arrive. */