Commit 87bfb98e authored by Stefan Tauner's avatar Stefan Tauner
Browse files

Fix priority comments

parent 44afb038
......@@ -67,7 +67,7 @@ int setup_Blink_Task(led_descriptor_t *led_desc, uint32_t wait_ticks)
Error_init(&eb);
Task_Params_init(&taskLedParams);
taskLedParams.stackSize = 1024;/*stack in bytes*/
taskLedParams.priority = 15;/*15 is default 16 is highest priority -> see RTOS configuration*/
taskLedParams.priority = 15;/*0-15 (15 is highest priority on default -> see RTOS Task configuration)*/
taskLedParams.arg0 = (UArg) led_desc;/*pass led descriptor to arg0*/
taskLedParams.arg1 = (UArg) wait_ticks;
taskLed = Task_create((Task_FuncPtr)BlinkFxn, &taskLedParams, &eb);
......
......@@ -101,7 +101,7 @@ int setup_UART_Task(void)
Error_init(&eb);
Task_Params_init(&taskUARTParams);
taskUARTParams.stackSize = 1024;/*stack in bytes*/
taskUARTParams.priority = 15;/*15 is default 16 is highest priority -> see RTOS configuration*/
taskUARTParams.priority = 15;/*0-15 (15 is highest priority on default -> see RTOS Task configuration)*/
taskUART = Task_create((Task_FuncPtr)UARTFxn, &taskUARTParams, &eb);
if (taskUART == NULL) {
System_abort("TaskUART create failed");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment