he send thread uses the queueto send the code to the receive thread and print the code on the screen.
Fork of rtos_queue by
Diff: main.cpp
- Revision:
- 3:c490e2d69dd8
- Parent:
- 1:d2ba5afbf91f
- Child:
- 5:a1609b233d6d
diff -r 60e763987e7b -r c490e2d69dd8 main.cpp --- a/main.cpp Fri Nov 23 10:37:02 2012 +0000 +++ b/main.cpp Fri Nov 23 10:41:31 2012 +0000 @@ -11,7 +11,7 @@ Queue<message_t, 16> queue; /* Send Thread */ -void send_thread (void const *argument) { +void send_thread (void const *args) { uint32_t i = 0; while (true) { i++; // fake data update