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

pull/4/head
Richard Barry 18 years ago
parent 17228aca47
commit 5d413a0078

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

Loading…
Cancel
Save