From 45a065ef461a1a6badd34f6fd35cab975e0c29de Mon Sep 17 00:00:00 2001 From: richardbarry 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. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@68 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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. */ -- 2.39.5