Skip to content
Snippets Groups Projects
Commit f21d497b authored by Raul Fuentes's avatar Raul Fuentes
Browse files

tread.h: Minor examples compile

parent 808b56c0
No related branches found
No related tags found
No related merge requests found
...@@ -63,10 +63,13 @@ ...@@ -63,10 +63,13 @@
* Usage * Usage
* ----- * -----
* ~~~~~~~~~~~~~~~~~~~~~~~~ {.c} * ~~~~~~~~~~~~~~~~~~~~~~~~ {.c}
* #include "thread.h"
*
* char rcv_thread_stack[THREAD_STACKSIZE_MAIN]; * char rcv_thread_stack[THREAD_STACKSIZE_MAIN];
* *
* void *rcv_thread(void *arg) * void *rcv_thread(void *arg)
* { * {
* (void) arg;
* msg_t m; * msg_t m;
* *
* while (1) { * while (1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment