mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Extend FX16 functionality.
This commit is contained in:
parent
269de4b1e7
commit
0e91b60a7d
|
@ -91,7 +91,7 @@ static xTaskHandle xCoroutineTask;
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vStartLEDFlashTasks( unsigned portBASE_TYPE uxPriority )
|
void vCreateFlashTasksAndCoRoutines( void )
|
||||||
{
|
{
|
||||||
signed short sLEDTask;
|
signed short sLEDTask;
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ signed short sLEDTask;
|
||||||
for( sLEDTask = 0; sLEDTask < ledNUMBER_OF_LEDS; ++sLEDTask )
|
for( sLEDTask = 0; sLEDTask < ledNUMBER_OF_LEDS; ++sLEDTask )
|
||||||
{
|
{
|
||||||
/* Spawn the task. */
|
/* Spawn the task. */
|
||||||
xTaskCreate( vLEDFlashTask, ( signed char * ) "LEDt", ledSTACK_SIZE, ( void * ) sLEDTask, uxPriority, &( xFlashTaskHandles[ sLEDTask ] ) );
|
xTaskCreate( vLEDFlashTask, ( signed char * ) "LEDt", ledSTACK_SIZE, ( void * ) sLEDTask, ( tskIDLE_PRIORITY + 1 ), &( xFlashTaskHandles[ sLEDTask ] ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create the task in which the co-routines run. */
|
/* Create the task in which the co-routines run. */
|
||||||
|
|
Loading…
Reference in a new issue