aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-10-18 20:01:31 +0200
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-10-18 20:01:31 +0200
commitfa4abfcc906aca5eb5b9b21ec7506eea67e79448 (patch)
tree8a52da2987b4fe3d50eb9f65355dbdea9a2ef9ad /src
parent1f8b5efc21a029e8fae647fde31d703cf0d1be23 (diff)
downloaduGFX-fa4abfcc906aca5eb5b9b21ec7506eea67e79448.tar.gz
uGFX-fa4abfcc906aca5eb5b9b21ec7506eea67e79448.tar.bz2
uGFX-fa4abfcc906aca5eb5b9b21ec7506eea67e79448.zip
Fixing compiler warning/error
Diffstat (limited to 'src')
-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 f84cad22..6a4705d2 100644
--- a/src/gtimer/gtimer.c
+++ b/src/gtimer/gtimer.c
@@ -29,13 +29,14 @@ static DECLARE_THREAD_STACK(waTimerThread, GTIMER_THREAD_WORKAREA_SIZE);
/*===========================================================================*/
static DECLARE_THREAD_FUNCTION(GTimerThreadHandler, arg) {
- (void)arg;
GTimer *pt;
systemticks_t tm;
systemticks_t nxtTimeout;
systemticks_t lastTime;
GTimerFunction fn;
void *param;
+
+ (void)arg;
nxtTimeout = TIME_INFINITE;
lastTime = 0;