static portTASK_FUNCTION(ReflTask, pvParameters) { (void)pvParameters; /* not used */ for(;;) { REF_StateMachine(); FRTOS1_vTaskDelay(10/TRG_TICKS_MS); } }
static void ReflTask (void *pvParameters) { (void)pvParameters; /* not used */ // SQUEUE_SendString("Reflectance task started!\r\n"); for(;;) { REF_StateMachine(); FRTOS1_vTaskDelay(10/portTICK_RATE_MS); } }