Skip to content

Instantly share code, notes, and snippets.

@good5dog5
Created March 18, 2015 07:01
Show Gist options
  • Save good5dog5/cfbb4bb170bf22ccee27 to your computer and use it in GitHub Desktop.
Save good5dog5/cfbb4bb170bf22ccee27 to your computer and use it in GitHub Desktop.
void anonymous_task(void * pvParameters)
{
fio_printf(1, "\r\n\n");
fio_printf(1, "I am a new task, and i do nothing:)\r\n");
}
void new_command(int n, char * argv[])
{
xTaskCreate(anonymous_task,
(signed portCHAR *) "NEW",
512 /* stack size */,
NULL,
tskIDLE_PRIORITY + 1,
NULL
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment