Go to the source code of this file.
Functions | |
void | vStartLEDFlashTasks (unsigned portBASE_TYPE uxPriority) |
void vStartLEDFlashTasks | ( | unsigned portBASE_TYPE | uxPriority | ) |
Definition at line 91 of file flash.c.
References ledNUMBER_OF_LEDS, ledSTACK_SIZE, portBASE_TYPE, and xTaskCreate.
Referenced by main().
00092 { 00093 signed portBASE_TYPE xLEDTask; 00094 00095 /* Create the three tasks. */ 00096 for( xLEDTask = 0; xLEDTask < ledNUMBER_OF_LEDS; ++xLEDTask ) 00097 { 00098 /* Spawn the task. */ 00099 xTaskCreate( vLEDFlashTask, ( signed char * ) "LEDx", ledSTACK_SIZE, NULL, uxPriority, ( xTaskHandle * ) NULL ); 00100 } 00101 }