aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-11-28 18:43:06 +0100
committerJoel Bodenmann <joel@unormal.org>2014-11-28 18:43:06 +0100
commitd54cf82d66e4b560723075b64d0308e7537525c9 (patch)
treeb6cd660d1a7dd8b5e852bcef96a34ea0a4ef2d4a /demos
parentadd06d8cb0bfa67b2c96047803dac7737d6b82f6 (diff)
downloaduGFX-d54cf82d66e4b560723075b64d0308e7537525c9.tar.gz
uGFX-d54cf82d66e4b560723075b64d0308e7537525c9.tar.bz2
uGFX-d54cf82d66e4b560723075b64d0308e7537525c9.zip
Fixing comment
Diffstat (limited to 'demos')
-rw-r--r--demos/modules/gos/threads_advanced/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/modules/gos/threads_advanced/main.c b/demos/modules/gos/threads_advanced/main.c
index 4a8195e4..ecb552ab 100644
--- a/demos/modules/gos/threads_advanced/main.c
+++ b/demos/modules/gos/threads_advanced/main.c
@@ -88,7 +88,9 @@ int main(void)
/* Initialize the timer */
gtimerInit(&gt);
- /* Create a static thread from the default heap with normal priority. No parameter passed */
+ /* Create a static thread from the default heap with normal priority.
+ * We pass a the parameter to the thread which tells the thread whether to return or not
+ */
thd = gfxThreadCreate(NULL, 128, NORMAL_PRIORITY, Thread_function, (void*)&exitThread);
/* Start the timer. The callback function will be called once after 2000ms