Ejemplo n.º 1
0
// 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;
}
Ejemplo n.º 2
0
static inline void vLED_Init(void) {
	vLEDPort_Init();
}