aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorinmarket <inmarket@ugfx.org>2016-12-06 12:14:06 +1000
committerinmarket <inmarket@ugfx.org>2016-12-06 12:14:06 +1000
commit76671249d62e0931fdac3849ef474d57f780a61e (patch)
tree69b52dce0f2d891cc6c6adc5ad1b3144dc9f29ed /src
parentfa668d846e3c31371b706db84dad782859e80573 (diff)
downloaduGFX-76671249d62e0931fdac3849ef474d57f780a61e.tar.gz
uGFX-76671249d62e0931fdac3849ef474d57f780a61e.tar.bz2
uGFX-76671249d62e0931fdac3849ef474d57f780a61e.zip
Remove some compiler warnings
Diffstat (limited to 'src')
-rw-r--r--src/gos/gos_x_threads.c2
-rw-r--r--src/gtimer/gtimer.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/gos/gos_x_threads.c b/src/gos/gos_x_threads.c
index 4fc66588..d2cb6113 100644
--- a/src/gos/gos_x_threads.c
+++ b/src/gos/gos_x_threads.c
@@ -122,7 +122,6 @@ void gfxSleepMilliseconds(delaytime_t ms) {
case TIME_INFINITE:
while(1)
gfxYield();
- return;
}
// Convert our delay to ticks
@@ -144,7 +143,6 @@ void gfxSleepMicroseconds(delaytime_t ms) {
case TIME_INFINITE:
while(1)
gfxYield();
- return;
}
// Convert our delay to ticks
diff --git a/src/gtimer/gtimer.c b/src/gtimer/gtimer.c
index 22ec9ed2..eda88d5a 100644
--- a/src/gtimer/gtimer.c
+++ b/src/gtimer/gtimer.c
@@ -109,7 +109,7 @@ static DECLARE_THREAD_FUNCTION(GTimerThreadHandler, arg) {
lastTime = tm;
gfxMutexExit(&mutex);
}
- THREAD_RETURN(0);
+// THREAD_RETURN(0);
}
void _gtimerInit(void)