diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-10-20 20:07:25 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-10-20 20:07:25 +0200 |
commit | dcd8e588fcc56f2cedfea386892a26f3ead955aa (patch) | |
tree | 476fae69aba2aedace6f084ad25bbfb807e050d8 | |
parent | 592ee0f312c0009dccbdabf2a2736bf329434345 (diff) | |
download | uGFX-dcd8e588fcc56f2cedfea386892a26f3ead955aa.tar.gz uGFX-dcd8e588fcc56f2cedfea386892a26f3ead955aa.tar.bz2 uGFX-dcd8e588fcc56f2cedfea386892a26f3ead955aa.zip |
Adding THREAD_RETURN macro to GTIMER thread
-rw-r--r-- | src/gtimer/gtimer.c | 3 |
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) |