mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Moved where LCD_Init() is called from so it cannot call vTaskDelay() before the scheduler is started.
This commit is contained in:
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…
Reference in a new issue