Moved where LCD_Init() is called from so it cannot call vTaskDelay() before the scheduler is started.

This commit is contained in:
Richard Barry 2007-03-08 21:08:52 +00:00
parent 17228aca47
commit 5d413a0078

View file

@ -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. */