aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-10-20 20:07:25 +0200
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-10-20 20:07:25 +0200
commitdcd8e588fcc56f2cedfea386892a26f3ead955aa (patch)
tree476fae69aba2aedace6f084ad25bbfb807e050d8
parent592ee0f312c0009dccbdabf2a2736bf329434345 (diff)
downloaduGFX-dcd8e588fcc56f2cedfea386892a26f3ead955aa.tar.gz
uGFX-dcd8e588fcc56f2cedfea386892a26f3ead955aa.tar.bz2
uGFX-dcd8e588fcc56f2cedfea386892a26f3ead955aa.zip
Adding THREAD_RETURN macro to GTIMER thread
-rw-r--r--src/gtimer/gtimer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gtimer/gtimer.c b/src/gtimer/gtimer.c
index 6a4705d2..e22c3484 100644
--- a/src/gtimer/gtimer.c
+++ b/src/gtimer/gtimer.c
@@ -109,7 +109,8 @@ static DECLARE_THREAD_FUNCTION(GTimerThreadHandler, arg) {
lastTime = tm;
gfxMutexExit(&mutex);
}
- return 0;
+
+ THREAD_RETURN(0);
}
void _gtimerInit(void)