tread.h: Minor examples compile
This commit is contained in:
parent
808b56c07f
commit
f21d497be4
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user