// Function that creates a task. void vStartLEDTask( unsigned portBASE_TYPE uxPriority ) { static unsigned char ucParameterToPass; xTaskHandle xHandle; vLEDPort_Init(); xTaskCreate( vLEDTask, (signed portCHAR *) "LED", LED_STACK_SIZE, &ucParameterToPass, uxPriority, &xHandle ); return; }
static inline void vLED_Init(void) { vLEDPort_Init(); }