From dcd8e588fcc56f2cedfea386892a26f3ead955aa Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Tue, 20 Oct 2015 20:07:25 +0200 Subject: [PATCH] Adding THREAD_RETURN macro to GTIMER thread --- src/gtimer/gtimer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)